Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,6 @@ impl Socket {
target_os = "fuchsia",
target_os = "redox",
target_os = "solaris",
target_os = "illumos",
target_os = "haiku",
target_os = "wasi",
)))]
Expand All @@ -1660,7 +1659,6 @@ impl Socket {
target_os = "fuchsia",
target_os = "redox",
target_os = "solaris",
target_os = "illumos",
target_os = "haiku",
target_os = "wasi",
)))]
Expand Down
3 changes: 2 additions & 1 deletion src/sys/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ pub(crate) use libc::IP_RECVTOS;
target_os = "redox",
target_os = "solaris",
target_os = "haiku",
target_os = "illumos",
target_os = "wasi",
)))]
pub(crate) use libc::IP_TOS;
Expand Down Expand Up @@ -2643,6 +2642,7 @@ impl crate::Socket {
target_os = "netbsd",
target_os = "openbsd",
target_os = "cygwin",
target_os = "illumos",
)
))]
pub fn tclass_v6(&self) -> io::Result<u32> {
Expand All @@ -2668,6 +2668,7 @@ impl crate::Socket {
target_os = "netbsd",
target_os = "openbsd",
target_os = "cygwin",
target_os = "illumos",
)
))]
pub fn set_tclass_v6(&self, tclass: u32) -> io::Result<()> {
Expand Down
4 changes: 2 additions & 2 deletions tests/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,6 @@ test!(IPv4 ttl_v4, set_ttl_v4(40));
target_os = "fuchsia",
target_os = "redox",
target_os = "solaris",
target_os = "illumos",
target_os = "haiku",
target_os = "cygwin",
target_os = "wasi",
Expand Down Expand Up @@ -1577,7 +1576,8 @@ test!(IPv6 only_v6, set_only_v6(false));
target_os = "linux",
target_os = "macos",
target_os = "netbsd",
target_os = "openbsd"
target_os = "openbsd",
target_os = "illumos"
)
))]
test!(IPv6 tclass_v6, set_tclass_v6(96));
Expand Down
Loading