about summary refs log tree commit diff
path: root/src/libstd/net/mod.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2016-09-14 17:10:43 +0000
committerBrian Anderson <banderson@mozilla.com>2016-09-30 14:02:52 -0700
commit183b2ddce4771df3bcfe36eb229a1791fe4b0f8f (patch)
treeeb9c8b8990972cbc42a4ca74399cbbad81415f23 /src/libstd/net/mod.rs
parent37abec06e502b147b9ebc730030efe10bf235765 (diff)
downloadrust-183b2ddce4771df3bcfe36eb229a1791fe4b0f8f.tar.gz
rust-183b2ddce4771df3bcfe36eb229a1791fe4b0f8f.zip
Ignore entire test modules on emscripten instead of individual tests
Diffstat (limited to 'src/libstd/net/mod.rs')
-rw-r--r--src/libstd/net/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/net/mod.rs b/src/libstd/net/mod.rs
index ad2fe3c1c0d..7dd0e30df03 100644
--- a/src/libstd/net/mod.rs
+++ b/src/libstd/net/mod.rs
@@ -31,7 +31,8 @@ mod addr;
 mod tcp;
 mod udp;
 mod parser;
-#[cfg(test)] mod test;
+#[cfg(all(test, not(target_os = "emscripten")))]
+mod test;
 
 /// Possible values which can be passed to the [`shutdown`] method of
 /// [`TcpStream`].