diff options
| author | Brian Anderson <banderson@mozilla.com> | 2016-09-14 17:10:43 +0000 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2016-09-30 14:02:52 -0700 |
| commit | 183b2ddce4771df3bcfe36eb229a1791fe4b0f8f (patch) | |
| tree | eb9c8b8990972cbc42a4ca74399cbbad81415f23 /src/libstd/net/mod.rs | |
| parent | 37abec06e502b147b9ebc730030efe10bf235765 (diff) | |
| download | rust-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.rs | 3 |
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`]. |
