Skip to content

Commit 244011a

Browse files
committed
don't have both MIRI_SYSROOT and --sysroot
1 parent 619f296 commit 244011a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/cargo-miri.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ fn inside_cargo_rustc() {
458458
} else {
459459
Command::new("rustc")
460460
};
461+
command.env_remove("MIRI_SYSROOT"); // we already set the --sysroot flag
461462
command.args(&args);
462463
if has_arg_flag("-v") {
463464
eprintln!("+ {:?}", command);

0 commit comments

Comments
 (0)