Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c959eef

Browse files
Add requisite feature gates in the standard library
1 parent e1d7681 commit c959eef

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
@@ -83,6 +83,7 @@
8383
#![feature(const_fn)]
8484
#![feature(const_fn_union)]
8585
#![feature(const_assume)]
86+
#![cfg_attr(not(bootstrap), feature(const_fn_impl_trait))]
8687
#![cfg_attr(not(bootstrap), feature(const_fn_floating_point_arithmetic))]
8788
#![cfg_attr(not(bootstrap), feature(const_fn_fn_ptr_basics))]
8889
#![feature(const_generics)]

0 commit comments

Comments
 (0)