Skip to content

Commit a7c82f7

Browse files
aym-vThomasdezeeuw
authored andcommitted
restrict to only supported OSes
1 parent 145254d commit a7c82f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/socket.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,12 @@ test!(freebind, set_freebind(true));
11441144

11451145
test!(IPv4 ttl, set_ttl(40));
11461146

1147+
#[cfg(not(any(
1148+
target_os = "fuschia",
1149+
target_os = "redox",
1150+
target_os = "solaris",
1151+
target_os = "illumos",
1152+
)))]
11471153
test!(IPv4 tos, set_tos(96));
11481154
#[cfg(not(windows))] // TODO: returns `WSAENOPROTOOPT` (10042) on Windows.
11491155
test!(IPv4 broadcast, set_broadcast(true));

0 commit comments

Comments
 (0)