1
Fork 0

Auto merge of #122975 - DianQK:simplify_ub_check, r=saethlin

Eliminate `UbChecks` for non-standard libraries

 The purpose of this PR is to allow other passes to treat `UbChecks` as constants in MIR for optimization after #122629.

r? RalfJung
This commit is contained in:
bors 2024-03-29 02:25:43 +00:00
commit 760e567af5
14 changed files with 118 additions and 45 deletions

View file

@ -1590,6 +1590,7 @@ symbols! {
rustc_peek_maybe_init,
rustc_peek_maybe_uninit,
rustc_polymorphize_error,
rustc_preserve_ub_checks,
rustc_private,
rustc_proc_macro_decls,
rustc_promotable,