diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-04-15 15:05:26 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-04-15 15:05:26 -0400 |
| commit | 1ce1cda02fe52974c6ceb5e318f456ef6fad86c8 (patch) | |
| tree | 846ba626f2777ab924d28d2372da07a1062e8f97 /compiler/rustc_interface/src | |
| parent | 2962e7c0089d5c136f4e9600b7abccfbbde4973d (diff) | |
| download | rust-1ce1cda02fe52974c6ceb5e318f456ef6fad86c8.tar.gz rust-1ce1cda02fe52974c6ceb5e318f456ef6fad86c8.zip | |
Track `-C link-dead-code` during incremental compilation
This option influences monomorphization, which participates in incremental compilation.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 2270b2b33e2..9685d21762b 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -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")]); |
