about summary refs log tree commit diff
path: root/library/core/src/task
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/task')
-rw-r--r--library/core/src/task/wake.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/task/wake.rs b/library/core/src/task/wake.rs
index d3c0d9b7841..b775e022a54 100644
--- a/library/core/src/task/wake.rs
+++ b/library/core/src/task/wake.rs
@@ -130,8 +130,7 @@ impl RawWakerVTable {
     #[rustc_promotable]
     #[stable(feature = "futures_api", since = "1.36.0")]
     #[rustc_const_stable(feature = "futures_api", since = "1.36.0")]
-    #[cfg_attr(not(bootstrap), rustc_allow_const_fn_unstable(const_fn_fn_ptr_basics))]
-    #[cfg_attr(bootstrap, allow_internal_unstable(const_fn_fn_ptr_basics))]
+    #[rustc_allow_const_fn_unstable(const_fn_fn_ptr_basics)]
     pub const fn new(
         clone: unsafe fn(*const ()) -> RawWaker,
         wake: unsafe fn(*const ()),