diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-04-04 21:38:34 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-05-08 10:58:08 +0200 |
| commit | 0318883cd6254f12347db752fa30bc097cc5b06b (patch) | |
| tree | 72ee70d0894e400081c53dd803ac498084b7acab /compiler/rustc_session/src | |
| parent | 50e1dc1536264ab71c0850f346b12309477f29f7 (diff) | |
| download | rust-0318883cd6254f12347db752fa30bc097cc5b06b.tar.gz rust-0318883cd6254f12347db752fa30bc097cc5b06b.zip | |
Make -Z new-llvm-pass-manager an Option<bool>
To allow it to have an LLVM version dependent default.
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 a59f0462c73..da6e2af2760 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1112,7 +1112,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "MIR optimization level (0-4; default: 1 in non optimized builds and 2 in optimized builds)"), mutable_noalias: Option<bool> = (None, parse_opt_bool, [TRACKED], "emit noalias metadata for mutable references (default: yes for LLVM >= 12, otherwise no)"), - new_llvm_pass_manager: bool = (false, parse_bool, [TRACKED], + new_llvm_pass_manager: Option<bool> = (None, parse_opt_bool, [TRACKED], "use new LLVM pass manager (default: no)"), nll_facts: bool = (false, parse_bool, [UNTRACKED], "dump facts from NLL analysis into side files (default: no)"), |
