From e41cce03a00d29d56f0bb74fb0d5d3e69ee7dfc8 Mon Sep 17 00:00:00 2001 From: Andrei Damian Date: Sun, 2 Mar 2025 21:51:23 +0200 Subject: fix pthread-based tls on apple targets --- library/std/src/sys/thread_local/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'library/std/src') diff --git a/library/std/src/sys/thread_local/mod.rs b/library/std/src/sys/thread_local/mod.rs index 1ff13154b7b..b7ce6fcdc05 100644 --- a/library/std/src/sys/thread_local/mod.rs +++ b/library/std/src/sys/thread_local/mod.rs @@ -138,6 +138,7 @@ pub(crate) mod key { not(target_family = "wasm"), target_family = "unix", ), + all(not(target_thread_local), target_vendor = "apple"), target_os = "teeos", all(target_os = "wasi", target_env = "p1", target_feature = "atomics"), ))] { -- cgit 1.4.1-3-g733a5