-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Support the [features] section in virtual manifests #4942
Copy link
Copy link
Closed as not planned
Labels
A-featuresArea: features — conditional compilationArea: features — conditional compilationC-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-propose-closeStatus: A team member has nominated this for closing, pending further input from the teamStatus: A team member has nominated this for closing, pending further input from the team
Metadata
Metadata
Assignees
Labels
A-featuresArea: features — conditional compilationArea: features — conditional compilationC-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-propose-closeStatus: A team member has nominated this for closing, pending further input from the teamStatus: A team member has nominated this for closing, pending further input from the team
Type
Fields
Give feedbackNo fields configured for issues without a type.
I have project structure:
Main manifest
./Cargo.toml:Workspace manifest
./workspace_a/Cargo.toml:And
./workspace_a/lib.rs:When i'm in root and trying
cargo test --all --features only_avirtual manifest doesn't see feature in my workspace.It's working when i'm in
./workspace_a/or when main manifest it's not virtual.