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_session/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_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index a184608ed29..fd26f50da5a 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -814,7 +814,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options, "a single extra argument to append to the linker invocation (can be used several times)"), link_args: Vec<String> = (Vec::new(), parse_list, [UNTRACKED], "extra arguments to append to the linker invocation (space separated)"), - link_dead_code: Option<bool> = (None, parse_opt_bool, [UNTRACKED], + link_dead_code: Option<bool> = (None, parse_opt_bool, [TRACKED], "keep dead code at link time (useful for code coverage) (default: no)"), link_self_contained: Option<bool> = (None, parse_opt_bool, [UNTRACKED], "control whether to link Rust provided C objects/libraries or rely |
