about summary refs log tree commit diff
path: root/library/std/src/process.rs
diff options
context:
space:
mode:
authorNicola Krumschmidt <git@nkcom.de>2024-09-04 02:18:32 +0200
committerNicola Krumschmidt <git@nkcom.de>2024-09-29 04:48:13 +0200
commit87f17f3ccb69e9827562522ae1a38f84d2ba998a (patch)
treed9ca03f59b55b85e2ea912e0bb6d6349305ff3b2 /library/std/src/process.rs
parent3b11c82a3d625a01dd5f7b91785374103eb41589 (diff)
downloadrust-87f17f3ccb69e9827562522ae1a38f84d2ba998a.tar.gz
rust-87f17f3ccb69e9827562522ae1a38f84d2ba998a.zip
Fix std tests for wasm32-wasip2 target
Diffstat (limited to 'library/std/src/process.rs')
-rw-r--r--library/std/src/process.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs
index c84a5c65263..f24fe353e55 100644
--- a/library/std/src/process.rs
+++ b/library/std/src/process.rs
@@ -148,7 +148,15 @@
 #![stable(feature = "process", since = "1.0.0")]
 #![deny(unsafe_op_in_unsafe_fn)]
 
-#[cfg(all(test, not(any(target_os = "emscripten", target_env = "sgx", target_os = "xous"))))]
+#[cfg(all(
+    test,
+    not(any(
+        target_os = "emscripten",
+        target_os = "wasi",
+        target_env = "sgx",
+        target_os = "xous"
+    ))
+))]
 mod tests;
 
 use crate::convert::Infallible;