diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-17 10:29:02 +0100 | 
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-23 18:45:05 +0100 | 
| commit | 61775304200826b412f18fc87218161fb8a0dc5c (patch) | |
| tree | 43a2a658f42b2e50f03f8f09d1f970ebeef564a3 /library/core/src/lib.rs | |
| parent | 987ef4c9221e792614a015a39b78f7d6a156c2f2 (diff) | |
| download | rust-61775304200826b412f18fc87218161fb8a0dc5c.tar.gz rust-61775304200826b412f18fc87218161fb8a0dc5c.zip | |
refactor check_{lang,library}_ub: use a single intrinsic, put policy into library
Diffstat (limited to 'library/core/src/lib.rs')
| -rw-r--r-- | library/core/src/lib.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs index 8f292bf1551..0c95ecafc7c 100644 --- a/library/core/src/lib.rs +++ b/library/core/src/lib.rs @@ -171,6 +171,7 @@ #![feature(const_type_id)] #![feature(const_type_name)] #![feature(const_typed_swap)] +#![feature(const_ub_checks)] #![feature(const_unicode_case_lookup)] #![feature(const_unsafecell_get_mut)] #![feature(const_waker)] | 
