diff options
| author | Steven Fackler <sfackler@gmail.com> | 2014-09-28 22:31:50 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@palantir.com> | 2014-09-30 12:52:00 -0700 |
| commit | d5647a8ea3932c8a44dad13699e128d3d3fee255 (patch) | |
| tree | d3dc48b0810c66407d1c620d741920d295f96743 /src/libstd/io/net | |
| parent | 1e0c7b682f1675e39085f1f0f928a37364bab9c7 (diff) | |
| download | rust-d5647a8ea3932c8a44dad13699e128d3d3fee255.tar.gz rust-d5647a8ea3932c8a44dad13699e128d3d3fee255.zip | |
Fix libstd
Diffstat (limited to 'src/libstd/io/net')
| -rw-r--r-- | src/libstd/io/net/addrinfo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/net/addrinfo.rs b/src/libstd/io/net/addrinfo.rs index 867e8bcca82..ea1dd12f323 100644 --- a/src/libstd/io/net/addrinfo.rs +++ b/src/libstd/io/net/addrinfo.rs @@ -123,7 +123,7 @@ fn lookup(hostname: Option<&str>, servname: Option<&str>, hint: Option<Hint>) // Ignored on android since we cannot give tcp/ip // permission without help of apk -#[cfg(test, not(target_os = "android"))] +#[cfg(all(test, not(target_os = "android")))] mod test { iotest!(fn dns_smoke_test() { let ipaddrs = get_host_addresses("localhost").unwrap(); |
