Skip to content

Commit

Permalink
Rollup merge of #31678 - JohanLorenzo:follow-up-31368, r=alexcrichton
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Manishearth committed Feb 15, 2016
2 parents 5cfe8c7 + 040cbc4 commit 8bb217b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/session/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
link_args: Option<Vec<String>> = (None, parse_opt_list,
"extra arguments to pass to the linker (space separated)"),
link_dead_code: bool = (false, parse_bool,
"let the linker strip dead coded (turning it on can be used for code coverage)"),
"don't let linker strip dead code (turning it on can be used for code coverage)"),
lto: bool = (false, parse_bool,
"perform LLVM link-time optimizations"),
target_cpu: Option<String> = (None, parse_opt_string,
Expand Down

0 comments on commit 8bb217b

Please sign in to comment.