std: rewrite native thread-local storage

This commit is contained in:
joboet 2023-09-24 19:46:29 +02:00
parent 39d2f2affd
commit 085b3d49c9
No known key found for this signature in database
GPG key ID: 704E0149B0194B3C
6 changed files with 331 additions and 249 deletions

View file

@ -205,7 +205,7 @@ cfg_if::cfg_if! {
#[doc(hidden)]
#[unstable(feature = "thread_local_internals", issue = "none")]
pub mod local_impl {
pub use crate::sys::thread_local::{thread_local_inner, Key, abort_on_dtor_unwind};
pub use crate::sys::thread_local::*;
}
}
}