Skip to content

Commit fd06561

Browse files
committed
Add emit=metadata to UI tests build flags
This should improve the performance by avoiding codegen
1 parent 6b59675 commit fd06561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compile-test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn default_config() -> compiletest::Config {
7171
}
7272

7373
config.target_rustcflags = Some(format!(
74-
"-L {0} -L {1} -Dwarnings -Zui-testing {2}",
74+
"--emit=metadata -L {0} -L {1} -Dwarnings -Zui-testing {2}",
7575
host_lib().join("deps").display(),
7676
cargo::TARGET_LIB.join("deps").display(),
7777
third_party_crates(),

0 commit comments

Comments
 (0)