Add emit=metadata to UI tests build flags

This should improve the performance by avoiding codegen
This commit is contained in:
Eduardo Broto 2020-09-25 15:20:04 +02:00
parent 6b59675449
commit fd0656109f

View File

@ -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(),