summaryrefslogtreecommitdiff
path: root/library/std/tests/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/tests/thread.rs')
-rw-r--r--library/std/tests/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/thread.rs b/library/std/tests/thread.rs
index fc9917178b2..83574176186 100644
--- a/library/std/tests/thread.rs
+++ b/library/std/tests/thread.rs
@@ -4,7 +4,7 @@ use std::thread;
use std::time::Duration;
#[test]
-#[cfg_attr(target_os = "emscripten", ignore)]
+#[cfg_attr(any(target_os = "emscripten", target_os = "wasi"), ignore)] // no threads
#[cfg_attr(miri, ignore)] // Miri does not like the thread leak
fn sleep_very_long() {
let finished = Arc::new(Mutex::new(false));