Skip to content

Commit

Permalink
restrict to only supported OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
aym-v authored and Thomasdezeeuw committed Jul 10, 2021
1 parent 145254d commit a7c82f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,12 @@ test!(freebind, set_freebind(true));

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

#[cfg(not(any(
target_os = "fuschia",
target_os = "redox",
target_os = "solaris",
target_os = "illumos",
)))]
test!(IPv4 tos, set_tos(96));
#[cfg(not(windows))] // TODO: returns `WSAENOPROTOOPT` (10042) on Windows.
test!(IPv4 broadcast, set_broadcast(true));
Expand Down

0 comments on commit a7c82f7

Please sign in to comment.