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
2 changed files with 2 additions and 2 deletions

View File

@@ -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