Skip to content

Commit a515b9f

Browse files
committed
Fix feature flag for validity_invariants_of
1 parent 5d42de2 commit a515b9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
#![feature(const_slice_from_ref)]
157157
#![feature(const_slice_index)]
158158
#![feature(const_is_char_boundary)]
159+
#![cfg_attr(not(bootstrap), feature(validity_invariants_of))]
159160
//
160161
// Language features:
161162
#![feature(abi_unadjusted)]

0 commit comments

Comments
 (0)