about summary refs log tree commit diff
path: root/library/std/tests/process_spawning.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/tests/process_spawning.rs')
-rw-r--r--library/std/tests/process_spawning.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/process_spawning.rs b/library/std/tests/process_spawning.rs
index d249eb7d50a..3e72e371ade 100644
--- a/library/std/tests/process_spawning.rs
+++ b/library/std/tests/process_spawning.rs
@@ -5,7 +5,7 @@ use std::{env, fs, process, str};
 mod common;
 
 #[test]
-#[cfg_attr(miri, ignore)] // Process spawning not supported by Miri
+#[cfg_attr(any(miri, target_os = "wasi"), ignore)] // Process spawning not supported by Miri and wasi
 fn issue_15149() {
     // If we're the parent, copy our own binary to a new directory.
     let my_path = env::current_exe().unwrap();