We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e06ce72 commit 65fd006Copy full SHA for 65fd006
src/bin/cargo-miri.rs
@@ -334,7 +334,6 @@ path = "lib.rs"
334
Some(target) => target == rustc_version::version_meta().unwrap().host,
335
};
336
let sysroot = if is_host { dir.join("HOST") } else { PathBuf::from(dir) };
337
-
338
std::env::set_var("MIRI_SYSROOT", &sysroot); // pass the env var to the processes we spawn, which will turn it into "--sysroot" flags
339
if print_env {
340
println!("MIRI_SYSROOT='{}'", sysroot.display().to_string().replace('\'', r#"'"'"'"#));
0 commit comments