diff options
author | Ben Kimock <kimockb@gmail.com> | 2023-06-03 09:31:07 -0400 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2023-06-05 18:11:07 -0600 |
commit | 57cdbed0ab9077e33d48c1b7a6f44b5cc0e67cbd (patch) | |
tree | 4a50c3e22a2d3b302b07d9045572bb251386d8cb /test/sys/test_socket.rs | |
parent | 9b331316963e14c249570f5be9a65bb3269c41fd (diff) | |
download | nix-57cdbed0ab9077e33d48c1b7a6f44b5cc0e67cbd.zip |
Clippy cleanup:
fix the new clippy::non-minimal-cfg lint
Diffstat (limited to 'test/sys/test_socket.rs')
-rw-r--r-- | test/sys/test_socket.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sys/test_socket.rs b/test/sys/test_socket.rs index 0a8d0544..9fb7e89a 100644 --- a/test/sys/test_socket.rs +++ b/test/sys/test_socket.rs @@ -10,7 +10,7 @@ use std::path::Path; use std::slice; use std::str::FromStr; -#[cfg(any(target_os = "linux"))] +#[cfg(target_os = "linux")] #[cfg_attr(qemu, ignore)] #[test] pub fn test_timestamping() { @@ -2082,7 +2082,7 @@ pub fn test_vsock() { // Disable the test on emulated platforms because it fails in Cirrus-CI. Lack // of QEMU support is suspected. #[cfg_attr(qemu, ignore)] -#[cfg(all(target_os = "linux"))] +#[cfg(target_os = "linux")] #[test] fn test_recvmsg_timestampns() { use nix::sys::socket::*; @@ -2137,7 +2137,7 @@ fn test_recvmsg_timestampns() { // Disable the test on emulated platforms because it fails in Cirrus-CI. Lack // of QEMU support is suspected. #[cfg_attr(qemu, ignore)] -#[cfg(all(target_os = "linux"))] +#[cfg(target_os = "linux")] #[test] fn test_recvmmsg_timestampns() { use nix::sys::socket::*; |