Skip to content

Commit 9943b56

Browse files
committed
Enable validate-mir by default
1 parent 6d46b1e commit 9943b56

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
@@ -1671,7 +1671,7 @@ options! {
16711671
"adds unstable command line options to rustc interface (default: no)"),
16721672
use_ctors_section: Option<bool> = (None, parse_opt_bool, [TRACKED],
16731673
"use legacy .ctors section for initializers rather than .init_array"),
1674-
validate_mir: bool = (false, parse_bool, [UNTRACKED],
1674+
validate_mir: bool = (true, parse_bool, [UNTRACKED],
16751675
"validate MIR after each transformation"),
16761676
#[rustc_lint_opt_deny_field_access("use `Session::verbose` instead of this field")]
16771677
verbose: bool = (false, parse_bool, [UNTRACKED],

0 commit comments

Comments
 (0)