From c5d1f8f313433154b80753b46a5de7fb3738e4b3 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 6 Jun 2018 20:18:13 +0200 Subject: [PATCH] rust: fix test condition in tcp patch --- .../compilers/rust/patches/net-tcp-disable-tests.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch b/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch index 70a91ceb9d9..10713b6b7aa 100644 --- a/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch +++ b/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch @@ -98,7 +98,7 @@ index 0f60b5b3e..9b08415e7 100644 } #[test] -+ #[cfg_attr(target_os = "linux", target_os = "macos", ignore)] ++ #[cfg_attr(any(target_os = "linux", target_os = "macos"), ignore)] fn connect_timeout_unroutable() { // this IP is unroutable, so connections should always time out, // provided the network is reachable to begin with.