Skip to content

Commit 9fddb2a

Browse files
committed
Use -Zui-testing flag
1 parent dfe1232 commit 9fddb2a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/compile-test.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ fn config(mode: &str, dir: PathBuf) -> compiletest::Config {
5555
config.run_lib_path = rustc_lib_path();
5656
config.compile_lib_path = rustc_lib_path();
5757
}
58-
config.target_rustcflags = Some(format!("-L {0} -L {0}/deps -Dwarnings", host_libs().display()));
58+
config.target_rustcflags = Some(format!(
59+
"-L {0} -L {0}/deps -Dwarnings -Zui-testing",
60+
host_libs().display()
61+
));
5962

6063
config.mode = cfg_mode;
6164
config.build_base = if rustc_test_suite().is_some() {

0 commit comments

Comments
 (0)