Closed
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.
Activity