summaryrefslogtreecommitdiff
path: root/src/sys/socket/sockopt.rs
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-06-06 18:50:19 -0500
committerRyan Zoeller <rtzoeller@rtzoeller.com>2022-06-06 18:50:19 -0500
commit80f8320ffd9caf64542916a63f986ba1f95e4613 (patch)
tree91ccd5e2dc7d2d06aa783bb76cc6ccbef992dadd /src/sys/socket/sockopt.rs
parent5dedbc7850448ae3922ab0a833f3eb971bf7e25f (diff)
downloadnix-80f8320ffd9caf64542916a63f986ba1f95e4613.zip
Cleanup cfg blocks
Remove obsolete references to target_env = wasi, target_os = nacl, target_os = osx, and a typo'd target_os = fushsia that didn't compile when fixed. - target_env = wasi is dead: https://github.com/rust-lang/rust/pull/60117 - target_os = nacl is dead: https://github.com/rust-lang/rust/pull/45041 - target_os = osx is dead, but I can't find a link.
Diffstat (limited to 'src/sys/socket/sockopt.rs')
-rw-r--r--src/sys/socket/sockopt.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sys/socket/sockopt.rs b/src/sys/socket/sockopt.rs
index 73d15406..33c86cd2 100644
--- a/src/sys/socket/sockopt.rs
+++ b/src/sys/socket/sockopt.rs
@@ -380,8 +380,7 @@ sockopt_impl!(
#[cfg(any(target_os = "android",
target_os = "dragonfly",
target_os = "freebsd",
- target_os = "linux",
- target_os = "nacl"))]
+ target_os = "linux"))]
#[cfg(feature = "net")]
sockopt_impl!(
#[cfg_attr(docsrs, doc(cfg(feature = "net")))]
@@ -993,8 +992,7 @@ mod test {
}
#[cfg(any(target_os = "freebsd",
- target_os = "linux",
- target_os = "nacl"))]
+ target_os = "linux"))]
#[test]
fn can_get_listen_on_tcp_socket() {
use super::super::*;