fix pthread-based tls on apple targets

This commit is contained in:
Andrei Damian
2025-03-02 21:51:23 +02:00
committed by Andrei DAMIAN
parent 75530e9f72
commit e41cce03a0
6 changed files with 76 additions and 1 deletions

View File

@@ -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"),
))] {