From be413ae527c7b9da1669538abc429fd41f7c57ba Mon Sep 17 00:00:00 2001 From: Ayush Singh Date: Thu, 27 Apr 2023 18:21:14 +0530 Subject: [PATCH] Remove all in target_thread_local cfg I think it was left there by mistake after previous refactoring. Signed-off-by: Ayush Singh --- library/std/src/sys/common/thread_local/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]