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.
--sysroot
--print
1 parent 68b8037 commit 0adc04cCopy full SHA for 0adc04c
cargo-miri/bin.rs
@@ -871,6 +871,7 @@ fn phase_rustc(mut args: env::Args, phase: RustcPhase) {
871
cmd.arg("-C").arg("panic=abort");
872
}
873
} else {
874
+ // For host crates (but not when we are printing), we might still have to set the sysroot.
875
if !print {
876
// When we're running `cargo-miri` from `x.py` we need to pass the sysroot explicitly as rustc
877
// can't figure out the sysroot on its own unless it's from rustup.
0 commit comments