1
Fork 0

Stabilize -Z print-link-args as --print link-args

We have stable options for adding linker arguments; we should have a
stable option to help debug linker arguments.
This commit is contained in:
Josh Triplett 2021-12-06 14:09:24 -08:00
parent 0fb1c371d4
commit cd626fec2b
12 changed files with 18 additions and 17 deletions

View file

@ -1294,8 +1294,6 @@ options! {
See #77382 and #74551."),
print_fuel: Option<String> = (None, parse_opt_string, [TRACKED],
"make rustc print the total optimization fuel used by a crate"),
print_link_args: bool = (false, parse_bool, [UNTRACKED],
"print the arguments passed to the linker (default: no)"),
print_llvm_passes: bool = (false, parse_bool, [UNTRACKED],
"print the LLVM optimization passes being run (default: no)"),
print_mono_items: Option<String> = (None, parse_opt_string, [UNTRACKED],