-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
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`Command-metadataS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
For third party rust compilation tools, we would like to follow the behavior of cargo. This requires using cargo metadata
and its respective crate for parsing Cargo.toml
files. However, the harness value is missing from the metadata output. Thus cannot follow the correct behavior for things like [[bench]]
which tend to use harness = false
resulting in --test
. See here.
Proposed Solution
Simple add a harness value to the cargo metadata
output.
Notes
No response
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`Command-metadataS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.