diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-03-18 22:10:36 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-03-21 20:10:53 +0100 |
| commit | 08c5ffd4a3e79aeb9a4cc79576d97760a9be25de (patch) | |
| tree | a004a01e9a28a1b461b19d01cce4824328a1aff0 /compiler/rustc_session/src | |
| parent | dfc4cafe8e7b5c5198ba3a9d9c57a2e1f09d03bd (diff) | |
| download | rust-08c5ffd4a3e79aeb9a4cc79576d97760a9be25de.tar.gz rust-08c5ffd4a3e79aeb9a4cc79576d97760a9be25de.zip | |
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.
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index d9e5a186073..e8865a25081 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -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)"), |
