summaryrefslogtreecommitdiff
path: root/library/std/src/net/tcp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/net/tcp.rs')
-rw-r--r--library/std/src/net/tcp.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/library/std/src/net/tcp.rs b/library/std/src/net/tcp.rs
index f81a13d4c44..67a0f7e439d 100644
--- a/library/std/src/net/tcp.rs
+++ b/library/std/src/net/tcp.rs
@@ -1,6 +1,13 @@
#![deny(unsafe_op_in_unsafe_fn)]
-#[cfg(all(test, not(any(target_os = "emscripten", target_os = "xous"))))]
+#[cfg(all(
+ test,
+ not(any(
+ target_os = "emscripten",
+ all(target_os = "wasi", target_env = "p1"),
+ target_os = "xous"
+ ))
+))]
mod tests;
use crate::fmt;