提交 8019deb0 编写于 作者: O Oliver Schneider 提交者: GitHub

Update compiletest.rs

上级 33ff32ca
......@@ -73,8 +73,10 @@ fn run_pass(path: &str) {
config.rustc_path = rustc_path;
config.run_lib_path = rustc_lib_path();
config.compile_lib_path = rustc_lib_path();
config.target_rustcflags = Some(format!("-Dwarnings --sysroot {}", get_sysroot().display()));
} else {
config.target_rustcflags = Some("-Dwarnings".to_owned());
}
config.target_rustcflags = Some(format!("-Dwarnings --sysroot {}", get_sysroot().display()));
config.host_rustcflags = Some("-Dwarnings".to_string());
compiletest::run_tests(&config);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册