mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 08:57:30 +00:00
Add emit=metadata to UI tests build flags
This should improve the performance by avoiding codegen
This commit is contained in:
parent
6b59675449
commit
fd0656109f
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ fn default_config() -> compiletest::Config {
|
|||
}
|
||||
|
||||
config.target_rustcflags = Some(format!(
|
||||
"-L {0} -L {1} -Dwarnings -Zui-testing {2}",
|
||||
"--emit=metadata -L {0} -L {1} -Dwarnings -Zui-testing {2}",
|
||||
host_lib().join("deps").display(),
|
||||
cargo::TARGET_LIB.join("deps").display(),
|
||||
third_party_crates(),
|
||||
|
|
Loading…
Reference in a new issue