-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
C-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`
Description
Looking at the ongoing effort to reduce build times across the ecosystem, I've stumbled upon this commit, which makes syn
and other build-time dependencies be compiled with no debug info nor optimisations. This is neat, but it only happens for the dev
profile, whereas AFAICT we don't want to compile syn
with optimisations even in release mode in this instance. Unfortunately, the Cargo manifest has no way to specify things for multiple profiles at all.
Would it make sense to support something like [profile.*.blablabla]
to set something across all profiles at once?
Metadata
Metadata
Assignees
Labels
C-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`