cargo metadata
output shouldn't filter by target in .cargo/config
#8462
Labels
C-bug
Category: bug
Command-metadata
regression-from-stable-to-stable
Regression in stable that worked in a previous stable release.
S-triage
Status: This issue is waiting on initial triage.
Problem
When a conditional dependency exists in Cargo.toml:
and a .cargo/config exists which sets a default target:
The output of
cargo metadata --format-version 1
is missing the dependencies pulled in by the conditional dep, but they shouldn't be.Steps
Notes
Output of
cargo version
:jq
in the reproduction to make the output smaller and show what's missing, butjq
isn't an important part of the repro, you can see the problem just by looking at the json output.The text was updated successfully, but these errors were encountered: