Skip to content

Commit

Permalink
Enable validate-mir by default
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Jan 18, 2023
1 parent 6d46b1e commit 9943b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_session/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ options! {
"adds unstable command line options to rustc interface (default: no)"),
use_ctors_section: Option<bool> = (None, parse_opt_bool, [TRACKED],
"use legacy .ctors section for initializers rather than .init_array"),
validate_mir: bool = (false, parse_bool, [UNTRACKED],
validate_mir: bool = (true, parse_bool, [UNTRACKED],
"validate MIR after each transformation"),
#[rustc_lint_opt_deny_field_access("use `Session::verbose` instead of this field")]
verbose: bool = (false, parse_bool, [UNTRACKED],
Expand Down

0 comments on commit 9943b56

Please sign in to comment.