diff options
| author | Nicola Krumschmidt <git@nkcom.de> | 2024-09-04 02:18:32 +0200 |
|---|---|---|
| committer | Nicola Krumschmidt <git@nkcom.de> | 2024-09-29 04:48:13 +0200 |
| commit | 87f17f3ccb69e9827562522ae1a38f84d2ba998a (patch) | |
| tree | d9ca03f59b55b85e2ea912e0bb6d6349305ff3b2 /library/std/tests/thread.rs | |
| parent | 3b11c82a3d625a01dd5f7b91785374103eb41589 (diff) | |
| download | rust-87f17f3ccb69e9827562522ae1a38f84d2ba998a.tar.gz rust-87f17f3ccb69e9827562522ae1a38f84d2ba998a.zip | |
Fix std tests for wasm32-wasip2 target
Diffstat (limited to 'library/std/tests/thread.rs')
| -rw-r--r-- | library/std/tests/thread.rs | 2 |
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)); |
