about summary refs log tree commit diff
path: root/library/std/tests/thread_local/lib.rs
diff options
context:
space:
mode:
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;