Skip to content

Commit fde2e40

Browse files
committed
link-directives: clarify usage message
1 parent fc5db2c commit fde2e40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_session/src/options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ options! {
14901490
layout_seed: Option<u64> = (None, parse_opt_number, [TRACKED],
14911491
"seed layout randomization"),
14921492
link_directives: bool = (true, parse_bool, [TRACKED],
1493-
"honour #[link] directives in crates (default: yes)"),
1493+
"honor #[link] directives in the compiled crate (default: yes)"),
14941494
link_native_libraries: bool = (true, parse_bool, [UNTRACKED],
14951495
"link native libraries in the linker invocation (default: yes)"),
14961496
link_only: bool = (false, parse_bool, [TRACKED],

tests/rustdoc-ui/z-help.stdout

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
Multiple options can be combined with commas.
8282
-Z keep-hygiene-data=val -- keep hygiene data after analysis (default: no)
8383
-Z layout-seed=val -- seed layout randomization
84-
-Z link-directives=val -- honour #[link] directives in crates (default: yes)
84+
-Z link-directives=val -- honor #[link] directives in the compiled crate (default: yes)
8585
-Z link-native-libraries=val -- link native libraries in the linker invocation (default: yes)
8686
-Z link-only=val -- link the `.rlink` file generated by `-Z no-link` (default: no)
8787
-Z llvm-plugins=val -- a list LLVM plugins to enable (space separated)

0 commit comments

Comments
 (0)