Skip to content

Commit

Permalink
Ignore test with a thread on wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 8, 2024
1 parent 94dea89 commit 160c457
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ fn strings() {
}

#[test]
#[cfg(not(target_family = "wasm"))]
fn threads() {
assert!(thread::spawn(|| panic!()).join().is_err());
}

0 comments on commit 160c457

Please sign in to comment.