about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2025-03-27 08:46:35 +0100
committerMara Bos <m-ou.se@m-ou.se>2025-03-27 08:46:35 +0100
commit3237b5092bb2dd6bc72ccf38fd42a226eed09e77 (patch)
tree881975f396a0929ac1120d49051a3b18b65c298b
parent5912dadf08fa2b29f723ec2c2b2315399a75c06e (diff)
downloadrust-3237b5092bb2dd6bc72ccf38fd42a226eed09e77.tar.gz
rust-3237b5092bb2dd6bc72ccf38fd42a226eed09e77.zip
Add needs-threads to test.
-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)]