From 160c457b0b7c325ebd9066d1317bf5e8d94a2359 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 8 May 2024 10:28:06 -0700 Subject: [PATCH] Ignore test with a thread on wasm --- tests/global.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/global.rs b/tests/global.rs index 1e9bc66..b5cfacd 100644 --- a/tests/global.rs +++ b/tests/global.rs @@ -26,6 +26,7 @@ fn strings() { } #[test] +#[cfg(not(target_family = "wasm"))] fn threads() { assert!(thread::spawn(|| panic!()).join().is_err()); }