diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-11 12:55:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-11 12:55:43 +0100 |
| commit | 5e52ada714a46b6150e78c7c5a2ff7178a2d79d3 (patch) | |
| tree | 26f5009e610ecdb566eb26e05ea84957b0ecc643 /library/std/src/sys/common/mod.rs | |
| parent | 25794194fa2bd25221411c08f6b3e33f13e9ec74 (diff) | |
| parent | 5828910ff4ea90eb2092074dd641d36f0146a734 (diff) | |
| download | rust-5e52ada714a46b6150e78c7c5a2ff7178a2d79d3.tar.gz rust-5e52ada714a46b6150e78c7c5a2ff7178a2d79d3.zip | |
Rollup merge of #108927 - Ayush1325:pal-cleanup, r=workingjubilee
Move __thread_local_inner to sys Move `__thread_local_inner` macro in `crate::thread::local` to `crate::sys`. Initially, I was thinking about removing this macro completely, but I could not find a way to create the generic statics without macros, so in the end, I just moved to code around. This probably will need a rebase once https://github.com/rust-lang/rust/pull/108917 is merged r? ``@workingjubilee``
Diffstat (limited to 'library/std/src/sys/common/mod.rs')
| -rw-r--r-- | library/std/src/sys/common/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/common/mod.rs b/library/std/src/sys/common/mod.rs index 29fc0835d76..2b8782ddf44 100644 --- a/library/std/src/sys/common/mod.rs +++ b/library/std/src/sys/common/mod.rs @@ -12,6 +12,7 @@ pub mod alloc; pub mod small_c_string; +pub mod thread_local; #[cfg(test)] mod tests; |
