about summary refs log tree commit diff
path: root/library/std/src/net/ip_addr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/net/ip_addr.rs')
-rw-r--r--library/std/src/net/ip_addr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/ip_addr.rs b/library/std/src/net/ip_addr.rs
index 8a9426b61f9..4d673a1d66d 100644
--- a/library/std/src/net/ip_addr.rs
+++ b/library/std/src/net/ip_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 = "ip_addr", since = "1.7.0")]