Allow cfg's in workspaces #8045
Labels
A-workspaces
Area: workspaces
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Describe the problem you are trying to solve
Cargo should allow wider support for
cfg
s in the Cargo.tomlFor example, I have a workspace member
b
which I only want to compile for the windows platform, and my intuition tells me that this should workHowever, cargo ignores the cfg in this position, forcing me to manually comment out the
exclude
in order to compile for other platformsThe text was updated successfully, but these errors were encountered: