Wuelle / Stormlicht

The Stormlicht browser engine.
MIT License
12 stars 0 forks source link

Cargo often recompiles dependencies when using config #21

Open Wuelle opened 1 week ago

Wuelle commented 1 week ago

Selecting the gtk chrome is done by running ./stormlicht.py run --chrome gtk. Internally, this passes the chrome=gtk cfg parameter to cargo. Presumably, this config is then applied to all dependencies, not just stormlicht, causing huge frequent rebuilds.

Not sure if this is a cargo issue or something that can be fixed here.

Wuelle commented 1 week ago

https://github.com/rust-lang/cargo/issues/8716