-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-config-cliArea: --config CLI optionArea: --config CLI optionC-bugCategory: bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Consider the following invocation:
cargo +nightly run --target "x86_64-unknown-linux-gnu" --config "target.'cfg(all())'.runner=['run']" --config "target.'cfg(all())'.runner=['run']"
This fails saying
error: could not execute process `run run target/x86_64-unknown-linux-gnu/debug/xargo` (never executed)
I think there is a bug here: cargo tried to execute run run ...
, i.e., it concatenated the two configs I gave! I would have expected the second config to overwrite the first, similar to what happens since #8629 when the runner is set both in cargo.toml and via the env var.
Metadata
Metadata
Assignees
Labels
A-config-cliArea: --config CLI optionArea: --config CLI optionC-bugCategory: bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.