Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 18fb025

Browse files
committedMar 5, 2021
Fix MIR optimization level description
1 parent cbb40e1 commit 18fb025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_session/src/options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
10001000
"emit Retagging MIR statements, interpreted e.g., by miri; implies -Zmir-opt-level=0 \
10011001
(default: no)"),
10021002
mir_opt_level: Option<usize> = (None, parse_opt_uint, [TRACKED],
1003-
"MIR optimization level (0-3; default: Some(1) in non optimized builds and Some(2) in optimized builds)"),
1003+
"MIR optimization level (0-4; default: 1 in non optimized builds and 2 in optimized builds)"),
10041004
mutable_noalias: bool = (false, parse_bool, [TRACKED],
10051005
"emit noalias metadata for mutable references (default: no)"),
10061006
new_llvm_pass_manager: bool = (false, parse_bool, [TRACKED],

0 commit comments

Comments
 (0)
Please sign in to comment.