1
Fork 0

Track -C link-dead-code during incremental compilation

This option influences monomorphization, which participates in
incremental compilation.
This commit is contained in:
Aaron Hill 2021-04-15 15:05:26 -04:00
parent 2962e7c008
commit 1ce1cda02f
No known key found for this signature in database
GPG key ID: B4087E510E98B164
2 changed files with 2 additions and 2 deletions

View file

@ -405,7 +405,6 @@ fn test_codegen_options_tracking_hash() {
untracked!(incremental, Some(String::from("abc")));
// `link_arg` is omitted because it just forwards to `link_args`.
untracked!(link_args, vec![String::from("abc"), String::from("def")]);
untracked!(link_dead_code, Some(true));
untracked!(link_self_contained, Some(true));
untracked!(linker, Some(PathBuf::from("linker")));
untracked!(linker_flavor, Some(LinkerFlavor::Gcc));
@ -433,6 +432,7 @@ fn test_codegen_options_tracking_hash() {
tracked!(force_unwind_tables, Some(true));
tracked!(inline_threshold, Some(0xf007ba11));
tracked!(linker_plugin_lto, LinkerPluginLto::LinkerPluginAuto);
tracked!(link_dead_code, Some(true));
tracked!(llvm_args, vec![String::from("1"), String::from("2")]);
tracked!(lto, LtoCli::Fat);
tracked!(metadata, vec![String::from("A"), String::from("B")]);