Open
Description
This commit enables incremental compilation by default […] A
profile.dev.incremental
field is added toCargo.toml
to disable it on a per-project basis (in case of bugs).
I was hoping to use something like this:
[target.'cfg(windows)'.profile.dev]
incremental = false
to work around rust-lang/rust#47186, but looking at src/cargo/util/toml/mod.rs
it seems that target.cfg
sections can only be combined with dependencies, not other sections like profile
.
Would it make sense to add support for this?