Make some option descriptions fit the usual pattern.
- No trailing '.' chars. - Use a lower-case letter at the start.
This commit is contained in:
parent
a0e52b1e82
commit
2109464cc5
@ -721,7 +721,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
|
||||
"linker flavor"),
|
||||
linker_plugin_lto: LinkerPluginLto = (LinkerPluginLto::Disabled,
|
||||
parse_linker_plugin_lto, [TRACKED],
|
||||
"generate build artifacts that are compatible with linker-based LTO."),
|
||||
"generate build artifacts that are compatible with linker-based LTO"),
|
||||
profile_generate: SwitchWithOptPath = (SwitchWithOptPath::Disabled,
|
||||
parse_switch_with_opt_path, [TRACKED],
|
||||
"compile the program with profiling instrumentation"),
|
||||
@ -875,9 +875,9 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
|
||||
sanitizer: Option<Sanitizer> = (None, parse_sanitizer, [TRACKED],
|
||||
"use a sanitizer"),
|
||||
sanitizer_recover: Vec<Sanitizer> = (vec![], parse_sanitizer_list, [TRACKED],
|
||||
"Enable recovery for selected sanitizers"),
|
||||
"enable recovery for selected sanitizers"),
|
||||
sanitizer_memory_track_origins: usize = (0, parse_sanitizer_memory_track_origins, [TRACKED],
|
||||
"Enable origins tracking in MemorySanitizer"),
|
||||
"enable origins tracking in MemorySanitizer"),
|
||||
fuel: Option<(String, u64)> = (None, parse_optimization_fuel, [TRACKED],
|
||||
"set the optimization fuel quota for a crate"),
|
||||
print_fuel: Option<String> = (None, parse_opt_string, [TRACKED],
|
||||
@ -897,7 +897,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
|
||||
nll_facts: bool = (false, parse_bool, [UNTRACKED],
|
||||
"dump facts from NLL analysis into side files"),
|
||||
dont_buffer_diagnostics: bool = (false, parse_bool, [UNTRACKED],
|
||||
"emit diagnostics rather than buffering (breaks NLL error downgrading, sorting)."),
|
||||
"emit diagnostics rather than buffering (breaks NLL error downgrading, sorting)"),
|
||||
polonius: bool = (false, parse_bool, [UNTRACKED],
|
||||
"enable polonius-based borrow-checker"),
|
||||
thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED],
|
||||
@ -931,7 +931,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
|
||||
embed_bitcode: bool = (false, parse_bool, [TRACKED],
|
||||
"embed LLVM bitcode in object files"),
|
||||
strip_debuginfo_if_disabled: Option<bool> = (None, parse_opt_bool, [TRACKED],
|
||||
"tell the linker to strip debuginfo when building without debuginfo enabled."),
|
||||
"tell the linker to strip debuginfo when building without debuginfo enabled"),
|
||||
share_generics: Option<bool> = (None, parse_opt_bool, [TRACKED],
|
||||
"make the current crate share its generic instantiations"),
|
||||
no_parallel_llvm: bool = (false, parse_bool, [UNTRACKED],
|
||||
@ -981,7 +981,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
|
||||
new_llvm_pass_manager: Option<bool> = (None, parse_opt_bool, [TRACKED],
|
||||
"use new LLVM pass manager"),
|
||||
link_native_libraries: Option<bool> = (None, parse_opt_bool, [UNTRACKED],
|
||||
"Link native libraries in the linker invocation."),
|
||||
"link native libraries in the linker invocation"),
|
||||
src_hash_algorithm: Option<SourceFileHashAlgorithm> = (None, parse_src_file_hash, [TRACKED],
|
||||
"hash algorithm of source files in debug info (`md5`, or `sha1`)"),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user