Add more from the std

This commit is contained in:
2026-03-17 22:51:36 +01:00
parent 9958b23c89
commit 72989d86a8
29 changed files with 2822 additions and 33 deletions

View File

@@ -1,4 +1,15 @@
pub mod local;
pub use crate::sys::thread::*;
pub use local::LocalKey;
// Implementation details used by the thread_local!{} macro.
#[doc(hidden)]
#[unstable(feature = "thread_local_internals", issue = "none")]
pub mod local_impl {
pub use super::local::thread_local_process_attrs;
pub use crate::sys::thread_local::*;
}
pub struct ThreadInit {
pub handle: Thread,