about summary refs log tree commit diff
path: root/library/std/tests/thread_local/lib.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-04-05 13:18:13 +1100
committerGitHub <noreply@github.com>2025-04-05 13:18:13 +1100
commit92bb7261c48b96c49c97b4e83fc311e42280e7cb (patch)
tree4d5f2eb18930dbe2354dbaf05eefb4b20ced9784 /library/std/tests/thread_local/lib.rs
parentc6bf3a01efd2ba8720cede198d3e9b9eadfc712c (diff)
parente41cce03a00d29d56f0bb74fb0d5d3e69ee7dfc8 (diff)
Rollup merge of #137897 - xTachyon:tls-fix, r=thomcc,jieyouxu
fix pthread-based tls on apple targets

Tries to fix #127773.
Diffstat (limited to 'library/std/tests/thread_local/lib.rs')
-rw-r--r--library/std/tests/thread_local/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/tests/thread_local/lib.rs b/library/std/tests/thread_local/lib.rs
index c5291435425..26af5f1eb0a 100644
--- a/library/std/tests/thread_local/lib.rs
+++ b/library/std/tests/thread_local/lib.rs
@@ -1,3 +1,5 @@
+#![feature(cfg_target_thread_local)]
+
 #[cfg(not(any(target_os = "emscripten", target_os = "wasi")))]
 mod tests;