mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Use -Zui-testing flag
This commit is contained in:
parent
dfe1232822
commit
9fddb2afce
1 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,10 @@ fn config(mode: &str, dir: PathBuf) -> compiletest::Config {
|
|||
config.run_lib_path = rustc_lib_path();
|
||||
config.compile_lib_path = rustc_lib_path();
|
||||
}
|
||||
config.target_rustcflags = Some(format!("-L {0} -L {0}/deps -Dwarnings", host_libs().display()));
|
||||
config.target_rustcflags = Some(format!(
|
||||
"-L {0} -L {0}/deps -Dwarnings -Zui-testing",
|
||||
host_libs().display()
|
||||
));
|
||||
|
||||
config.mode = cfg_mode;
|
||||
config.build_base = if rustc_test_suite().is_some() {
|
||||
|
|
Loading…
Reference in a new issue