-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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.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?
jedisct1, kornelski, mkurnikov, alepez, Geobert and 58 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.