about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAyush Singh <ayushsingh1325@gmail.com>2023-04-27 18:21:14 +0530
committerAyush Singh <ayushsingh1325@gmail.com>2023-04-27 18:21:14 +0530
commitbe413ae527c7b9da1669538abc429fd41f7c57ba (patch)
tree2a620862682d00f4a706f206340adf43a46d4f3f
parent8b8110e1469d459a196f6feb60d82dec48c3cfc2 (diff)
downloadrust-be413ae527c7b9da1669538abc429fd41f7c57ba.tar.gz
rust-be413ae527c7b9da1669538abc429fd41f7c57ba.zip
Remove all in target_thread_local cfg
I think it was left there by mistake after previous refactoring.

Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
-rw-r--r--library/std/src/sys/common/thread_local/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/common/thread_local/mod.rs b/library/std/src/sys/common/thread_local/mod.rs
index a7528c06c9d..951d509ec95 100644
--- a/library/std/src/sys/common/thread_local/mod.rs
+++ b/library/std/src/sys/common/thread_local/mod.rs
@@ -6,7 +6,7 @@ cfg_if::cfg_if! {
         mod static_local;
         #[doc(hidden)]
         pub use static_local::{Key, thread_local_inner};
-    } else if #[cfg(all(target_thread_local))] {
+    } else if #[cfg(target_thread_local)] {
         #[doc(hidden)]
         mod fast_local;
         #[doc(hidden)]