We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33ff32c commit 8019debCopy full SHA for 8019deb
tests/compiletest.rs
@@ -73,8 +73,10 @@ fn run_pass(path: &str) {
73
config.rustc_path = rustc_path;
74
config.run_lib_path = rustc_lib_path();
75
config.compile_lib_path = rustc_lib_path();
76
+ config.target_rustcflags = Some(format!("-Dwarnings --sysroot {}", get_sysroot().display()));
77
+ } else {
78
+ config.target_rustcflags = Some("-Dwarnings".to_owned());
79
}
- config.target_rustcflags = Some(format!("-Dwarnings --sysroot {}", get_sysroot().display()));
80
config.host_rustcflags = Some("-Dwarnings".to_string());
81
compiletest::run_tests(&config);
82
0 commit comments