File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ impl Kqueue {
8686 target_os = "openbsd"
8787) ) ]
8888type type_of_udata = * mut libc:: c_void ;
89- #[ cfg( any ( target_os = "netbsd" ) ) ]
89+ #[ cfg( target_os = "netbsd" ) ]
9090type type_of_udata = intptr_t ;
9191
9292#[ cfg( target_os = "netbsd" ) ]
@@ -171,7 +171,7 @@ libc_enum! {
171171) ) ]
172172#[ doc( hidden) ]
173173pub type type_of_event_flag = u16 ;
174- #[ cfg( any ( target_os = "netbsd" ) ) ]
174+ #[ cfg( target_os = "netbsd" ) ]
175175#[ doc( hidden) ]
176176pub type type_of_event_flag = u32 ;
177177libc_bitflags ! {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use std::path::Path;
1010use std:: slice;
1111use std:: str:: FromStr ;
1212
13- #[ cfg( any ( target_os = "linux" ) ) ]
13+ #[ cfg( target_os = "linux" ) ]
1414#[ cfg_attr( qemu, ignore) ]
1515#[ test]
1616pub fn test_timestamping ( ) {
@@ -2082,7 +2082,7 @@ pub fn test_vsock() {
20822082// Disable the test on emulated platforms because it fails in Cirrus-CI. Lack
20832083// of QEMU support is suspected.
20842084#[ cfg_attr( qemu, ignore) ]
2085- #[ cfg( all ( target_os = "linux" ) ) ]
2085+ #[ cfg( target_os = "linux" ) ]
20862086#[ test]
20872087fn test_recvmsg_timestampns ( ) {
20882088 use nix:: sys:: socket:: * ;
@@ -2137,7 +2137,7 @@ fn test_recvmsg_timestampns() {
21372137// Disable the test on emulated platforms because it fails in Cirrus-CI. Lack
21382138// of QEMU support is suspected.
21392139#[ cfg_attr( qemu, ignore) ]
2140- #[ cfg( all ( target_os = "linux" ) ) ]
2140+ #[ cfg( target_os = "linux" ) ]
21412141#[ test]
21422142fn test_recvmmsg_timestampns ( ) {
21432143 use nix:: sys:: socket:: * ;
You can’t perform that action at this time.
0 commit comments