summaryrefslogtreecommitdiff
path: root/library/std/src/net/socket_addr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/net/socket_addr.rs')
-rw-r--r--library/std/src/net/socket_addr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/socket_addr.rs b/library/std/src/net/socket_addr.rs
index 84922aabdb5..ba9c948a2e9 100644
--- a/library/std/src/net/socket_addr.rs
+++ b/library/std/src/net/socket_addr.rs
@@ -1,5 +1,5 @@
// Tests for this module
-#[cfg(all(test, not(target_os = "emscripten")))]
+#[cfg(all(test, not(any(target_os = "emscripten", all(target_os = "wasi", target_env = "p1")))))]
mod tests;
#[stable(feature = "rust1", since = "1.0.0")]