about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui/thread-local/spawn-hook-atexit.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/thread-local/spawn-hook-atexit.rs b/tests/ui/thread-local/spawn-hook-atexit.rs
index cc517e8fa4c..41fcbab1a81 100644
--- a/tests/ui/thread-local/spawn-hook-atexit.rs
+++ b/tests/ui/thread-local/spawn-hook-atexit.rs
@@ -1,4 +1,5 @@
 // Regression test for https://github.com/rust-lang/rust/issues/138696
+//@ needs-threads
 //@ run-pass
 
 #![feature(rustc_private)]