miri knows about --sysroot

This commit is contained in:
Oliver Schneider
2016-06-16 11:05:10 +02:00
parent f01be91997
commit 60f2bb9c70
-1
View File
@@ -60,7 +60,6 @@ fn compile_test() {
write!(stderr.lock(), "test [miri-pass] {} ", file.to_str().unwrap()).unwrap();
let mut cmd = std::process::Command::new("target/debug/miri");
cmd.arg(file);
cmd.arg(format!("--sysroot={}", sysroot));
cmd.arg("-Dwarnings");
cmd.arg(format!("--target={}", target));
let libs = Path::new(&sysroot).join("lib");