Skip to content

Commit 8bb217b

Browse files
committed
Rollup merge of #31678 - JohanLorenzo:follow-up-31368, r=alexcrichton
Thanks for catching this @tamird. Here's a quick fix. I didn't pick "let the linker link dead code" or "link dead code" because it would add no extra information to the flag name. Here's a another proposal. r? @alexcrichton
2 parents 5cfe8c7 + 040cbc4 commit 8bb217b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/session/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
509509
link_args: Option<Vec<String>> = (None, parse_opt_list,
510510
"extra arguments to pass to the linker (space separated)"),
511511
link_dead_code: bool = (false, parse_bool,
512-
"let the linker strip dead coded (turning it on can be used for code coverage)"),
512+
"don't let linker strip dead code (turning it on can be used for code coverage)"),
513513
lto: bool = (false, parse_bool,
514514
"perform LLVM link-time optimizations"),
515515
target_cpu: Option<String> = (None, parse_opt_string,

0 commit comments

Comments
 (0)