1
Fork 0

Introduce the (WIP) THIR unsafety checker

This commit is contained in:
LeSeulArtichaut 2021-03-14 20:10:22 +01:00
parent d956122f7e
commit 29780f43e2
6 changed files with 343 additions and 1 deletions

View file

@ -1251,6 +1251,8 @@ options! {
"select processor to schedule for (`rustc --print target-cpus` for details)"),
thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED],
"enable ThinLTO when possible"),
thir_unsafeck: bool = (false, parse_bool, [TRACKED],
"use the work-in-progress THIR unsafety checker. NOTE: this is unsound (default: no)"),
/// We default to 1 here since we want to behave like
/// a sequential compiler for now. This'll likely be adjusted
/// in the future. Note that -Zthreads=0 is the way to get