diff --git a/src/sys/unix.rs b/src/sys/unix.rs index c187d517..970bbb42 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -1834,6 +1834,8 @@ impl crate::Socket { target_os = "macos", target_os = "tvos", target_os = "watchos", + target_os = "illumos", + target_os = "solaris", ) ))] pub fn bind_device_by_index_v4(&self, interface: Option) -> io::Result<()> { @@ -1859,6 +1861,8 @@ impl crate::Socket { target_os = "macos", target_os = "tvos", target_os = "watchos", + target_os = "illumos", + target_os = "solaris", ) ))] pub fn bind_device_by_index_v6(&self, interface: Option) -> io::Result<()> { @@ -1879,6 +1883,8 @@ impl crate::Socket { target_os = "macos", target_os = "tvos", target_os = "watchos", + target_os = "illumos", + target_os = "solaris", ) ))] pub fn device_index_v4(&self) -> io::Result> { @@ -1900,6 +1906,8 @@ impl crate::Socket { target_os = "macos", target_os = "tvos", target_os = "watchos", + target_os = "illumos", + target_os = "solaris", ) ))] pub fn device_index_v6(&self) -> io::Result> {