-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
A-profilesArea: profilesArea: profilesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Description
This commit enables incremental compilation by default […] A
profile.dev.incrementalfield is added toCargo.tomlto 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 = falseto 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?
jedisct1, kornelski, mkurnikov, alepez, Geobert and 59 moredkaste and NuSkooler
Metadata
Metadata
Assignees
Labels
A-profilesArea: profilesArea: profilesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.