Description
Is it possible that when I set TARGET_*_RUNNER
to a value like C:\Users\Good Game\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin\cargo-miri.exe
, that cargo will split this at the whitespace and try to run the binary C:\Users\Good
? That is my conclusion of what happens in rust-lang/miri#2417, which took me by surprise. After all, RUSTC_WRAPPER, RUSTC and RUSTDOC work fine when they contain whitespace. Only the runner variables seem to have this strange behavior.
Reading the docs more carefully now, this says "Type: string or array of strings". I guess that helps for when the variable is set via toml, but when I set this via the environment (which I think is our only choice here), then how do I configure a runner that is stored in a directory that contains a whitespace in its name? It looks like StringList (which I think is where this ends up?) interprets a single string as being separated at whitespaces, rather than interpreting it as a one-element list of strings.