diff options
| author | Andrei Damian <andreidaamian@gmail.com> | 2025-03-02 21:51:23 +0200 |
|---|---|---|
| committer | Andrei DAMIAN <andreidaamian@gmail.com> | 2025-03-18 20:31:52 +0200 |
| commit | e41cce03a00d29d56f0bb74fb0d5d3e69ee7dfc8 (patch) | |
| tree | 2c94b29c28cd44b9dc60d28bcdb8d5a91d09142f /library/std/src/sys/thread_local | |
| parent | 75530e9f72a1990ed2305e16fd51d02f47048f12 (diff) | |
| download | rust-e41cce03a00d29d56f0bb74fb0d5d3e69ee7dfc8.tar.gz rust-e41cce03a00d29d56f0bb74fb0d5d3e69ee7dfc8.zip | |
fix pthread-based tls on apple targets
Diffstat (limited to 'library/std/src/sys/thread_local')
| -rw-r--r-- | library/std/src/sys/thread_local/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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"), ))] { |
