about summary refs log tree commit diff
path: root/library/std/src/sys/thread_local/key
diff options
context:
space:
mode:
authorBoxy <rust@boxyuwu.dev>2024-11-27 15:14:47 +0000
committerBoxy <rust@boxyuwu.dev>2024-11-27 15:14:54 +0000
commit22998f078588cf479530ff93e4a66ab4bb666398 (patch)
tree384d6a18156f6240bd86c5c4c4226d57199392fc /library/std/src/sys/thread_local/key
parentbe78dabe186f72279c119fe73a7754b2f16650e1 (diff)
update cfgs
Diffstat (limited to 'library/std/src/sys/thread_local/key')
-rw-r--r--library/std/src/sys/thread_local/key/racy.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/sys/thread_local/key/racy.rs b/library/std/src/sys/thread_local/key/racy.rs
index 97df8997b80..e1bc08eabb3 100644
--- a/library/std/src/sys/thread_local/key/racy.rs
+++ b/library/std/src/sys/thread_local/key/racy.rs
@@ -30,7 +30,6 @@ const KEY_SENTVAL: usize = 0;
 const KEY_SENTVAL: usize = libc::PTHREAD_KEYS_MAX + 1;
 
 impl LazyKey {
-    #[cfg_attr(bootstrap, rustc_const_unstable(feature = "thread_local_internals", issue = "none"))]
     pub const fn new(dtor: Option<unsafe extern "C" fn(*mut u8)>) -> LazyKey {
         LazyKey { key: atomic::AtomicUsize::new(KEY_SENTVAL), dtor }
     }