Skip to content

Commit 0f8bac9

Browse files
Enable -Zthir-unsafeck by default
1 parent 22112e4 commit 0f8bac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_session/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ options! {
12861286
"select processor to schedule for (`rustc --print target-cpus` for details)"),
12871287
thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED],
12881288
"enable ThinLTO when possible"),
1289-
thir_unsafeck: bool = (false, parse_bool, [TRACKED],
1289+
thir_unsafeck: bool = (true, parse_bool, [TRACKED],
12901290
"use the THIR unsafety checker (default: no)"),
12911291
/// We default to 1 here since we want to behave like
12921292
/// a sequential compiler for now. This'll likely be adjusted

0 commit comments

Comments
 (0)