1
Fork 0

Convert -Z mutable-noalias to Optional<bool>

The default value will dependend on the LLVM version in the future,
so don't specify one to start with.
This commit is contained in:
Nikita Popov 2021-03-18 22:10:36 +01:00
parent dfc4cafe8e
commit 08c5ffd4a3
3 changed files with 3 additions and 3 deletions

View file

@ -997,7 +997,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
(default: no)"),
mir_opt_level: Option<usize> = (None, parse_opt_uint, [TRACKED],
"MIR optimization level (0-4; default: 1 in non optimized builds and 2 in optimized builds)"),
mutable_noalias: bool = (false, parse_bool, [TRACKED],
mutable_noalias: Option<bool> = (None, parse_opt_bool, [TRACKED],
"emit noalias metadata for mutable references (default: no)"),
new_llvm_pass_manager: bool = (false, parse_bool, [TRACKED],
"use new LLVM pass manager (default: no)"),