Closed
Description
New install of miri. Compiling under Windows 10 with nightly-2022-03-10-x86_64-pc-windows-msvc
toolchain.
When I run cargo miri test
I get the following.
It looks like the space in the folder name "C:\Users\My Name\.rustup" is causing problems.
process didn't exit successfully: `C:\Users\My Name\.rustup\toolchains\nightly-2022-03-10-x86_64-pc-windows-msvc\bin\cargo-miri.exe - --crate-name ___ --print=file-names -Cdebug-assertions=off -Coverflow-checks=on --sysroot C:\Users\My Name\AppData\Local\rust-lang\miri\cache\HOST -Z force-unstable-if-unmarked --target x86_64-pc-windows-msvc --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
--- stderr
error: multiple input filenames provided (first two filenames are `-` and `Name\AppData\Local\rust-lang\miri\cache\HOST`)
error: `"\\\\?\\C:\\Users\\My Name\\.rustup\\toolchains\\nightly-2022-03-10-x86_64-pc-windows-msvc\\bin\\cargo.exe" "check" "--release" "--manifest-path" "C:\\Users\\MYNAME~1\\AppData\\Local\\Temp\\xargo.1JnaQcDy0Yi5\\Cargo.toml" "--target" "x86_64-pc-windows-msvc" "-p" "std"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
fatal error: failed to run xargo