Introduce the (WIP) THIR unsafety checker
This commit is contained in:
parent
d956122f7e
commit
29780f43e2
6 changed files with 343 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue