Skip to content

Commit be6d3e8

Browse files
committed
miri tests can always rely on CARGO_BIN_EXE_miri
1 parent 6d8655b commit be6d3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ enum Mode {
2727
}
2828

2929
fn miri_path() -> PathBuf {
30-
PathBuf::from(env::var("MIRI").unwrap_or_else(|_| env!("CARGO_BIN_EXE_miri").into()))
30+
env!("CARGO_BIN_EXE_miri").into()
3131
}
3232

3333
// Build the shared object file for testing native function calls.

0 commit comments

Comments
 (0)