diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-05 19:40:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-05 19:40:24 +0200 |
| commit | 527725b025ee11ca192d62b9521e3e3d8a3627b0 (patch) | |
| tree | 35a4e6f55502f765c5036285c5e2e2b0812ed3f6 | |
| parent | 6d88291d3cf18893eb7ba650674783e6ec63e63e (diff) | |
| parent | 9b889e919807c7f5c377c9c6b17d55276c8e3351 (diff) | |
| download | rust-527725b025ee11ca192d62b9521e3e3d8a3627b0.tar.gz rust-527725b025ee11ca192d62b9521e3e3d8a3627b0.zip | |
Rollup merge of #139121 - thaliaarchi:rename-thread_local-statik, r=Noratrieb
Rename internal module from `statik` to `no_threads` This module is named in reference to the keyword, but the term is somewhat overloaded. Rename it to more clearly describe it and avoid the misspelling.
| -rw-r--r-- | library/std/src/sys/thread_local/mod.rs | 6 | ||||
| -rw-r--r-- | library/std/src/sys/thread_local/no_threads.rs (renamed from library/std/src/sys/thread_local/statik.rs) | 0 |
2 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/sys/thread_local/mod.rs b/library/std/src/sys/thread_local/mod.rs index b7ce6fcdc05..9fafac3aa5b 100644 --- a/library/std/src/sys/thread_local/mod.rs +++ b/library/std/src/sys/thread_local/mod.rs @@ -30,9 +30,9 @@ cfg_if::cfg_if! { target_os = "zkvm", target_os = "trusty", ))] { - mod statik; - pub use statik::{EagerStorage, LazyStorage, thread_local_inner}; - pub(crate) use statik::{LocalPointer, local_pointer}; + mod no_threads; + pub use no_threads::{EagerStorage, LazyStorage, thread_local_inner}; + pub(crate) use no_threads::{LocalPointer, local_pointer}; } else if #[cfg(target_thread_local)] { mod native; pub use native::{EagerStorage, LazyStorage, thread_local_inner}; diff --git a/library/std/src/sys/thread_local/statik.rs b/library/std/src/sys/thread_local/no_threads.rs index 4da01a84acf..4da01a84acf 100644 --- a/library/std/src/sys/thread_local/statik.rs +++ b/library/std/src/sys/thread_local/no_threads.rs |
