link-directives: clarify usage message

This commit is contained in:
Jeremy Fitzhardinge 2023-02-08 12:05:53 -08:00
parent fc5db2cd4f
commit fde2e40e43
2 changed files with 2 additions and 2 deletions

View File

@ -1490,7 +1490,7 @@ pub(crate) fn parse_proc_macro_execution_strategy(
layout_seed: Option<u64> = (None, parse_opt_number, [TRACKED],
"seed layout randomization"),
link_directives: bool = (true, parse_bool, [TRACKED],
"honour #[link] directives in crates (default: yes)"),
"honor #[link] directives in the compiled crate (default: yes)"),
link_native_libraries: bool = (true, parse_bool, [UNTRACKED],
"link native libraries in the linker invocation (default: yes)"),
link_only: bool = (false, parse_bool, [TRACKED],

View File

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