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 ee84ff9 commit 783780cCopy full SHA for 783780c
src/bootstrap/src/core/build_steps/test.rs
@@ -679,7 +679,6 @@ impl Step for Miri {
679
// miri tests need to know about the stage sysroot
680
cargo.env("MIRI_SYSROOT", &miri_sysroot);
681
cargo.env("MIRI_HOST_SYSROOT", &host_sysroot);
682
- cargo.env("MIRI", &miri.tool_path);
683
684
// Set the target.
685
cargo.env("MIRI_TEST_TARGET", target.rustc_target_arg());
src/tools/miri/tests/ui.rs
@@ -27,7 +27,7 @@ enum Mode {
27
}
28
29
fn miri_path() -> PathBuf {
30
- PathBuf::from(env::var("MIRI").unwrap_or_else(|_| env!("CARGO_BIN_EXE_miri").into()))
+ env!("CARGO_BIN_EXE_miri").into()
31
32
33
// Build the shared object file for testing native function calls.
0 commit comments