std: move thread local implementation to sys
This commit is contained in:
parent
d377991bad
commit
45ca53f9d8
@ -9,6 +9,9 @@ pub mod cmath;
|
|||||||
pub mod locks;
|
pub mod locks;
|
||||||
pub mod os_str;
|
pub mod os_str;
|
||||||
pub mod path;
|
pub mod path;
|
||||||
|
#[allow(dead_code)]
|
||||||
|
#[allow(unused_imports)]
|
||||||
|
pub mod thread_local;
|
||||||
|
|
||||||
// FIXME(117276): remove this, move feature implementations into individual
|
// FIXME(117276): remove this, move feature implementations into individual
|
||||||
// submodules.
|
// submodules.
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
|
|
||||||
pub mod alloc;
|
pub mod alloc;
|
||||||
pub mod small_c_string;
|
pub mod small_c_string;
|
||||||
#[allow(unused_imports)]
|
|
||||||
pub mod thread_local;
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
@ -205,7 +205,7 @@ cfg_if::cfg_if! {
|
|||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[unstable(feature = "thread_local_internals", issue = "none")]
|
#[unstable(feature = "thread_local_internals", issue = "none")]
|
||||||
pub mod local_impl {
|
pub mod local_impl {
|
||||||
pub use crate::sys::common::thread_local::{thread_local_inner, Key, abort_on_dtor_unwind};
|
pub use crate::sys::thread_local::{thread_local_inner, Key, abort_on_dtor_unwind};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user