Skip to content

Commit

Permalink
Rollup merge of #132522 - senekor:consistenst-codegen-help, r=compile…
Browse files Browse the repository at this point in the history
…r-errors

make codegen help output more consistent

The output of `rustc -C help` generally has one option per line. There was one exception because of a (presumably) forgotten line continuation escape.
  • Loading branch information
matthiaskrgr authored Nov 3, 2024
2 parents 9c7cdc2 + 8837fc7 commit a7a0586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_session/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,7 @@ options! {
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: LinkSelfContained = (LinkSelfContained::default(), parse_link_self_contained, [UNTRACKED],
"control whether to link Rust provided C objects/libraries or rely
"control whether to link Rust provided C objects/libraries or rely \
on a C toolchain or linker installed in the system"),
linker: Option<PathBuf> = (None, parse_opt_pathbuf, [UNTRACKED],
"system linker to link outputs with"),
Expand Down

0 comments on commit a7a0586

Please sign in to comment.