File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl Kqueue {
71
71
timeout as * const timespec
72
72
} else {
73
73
ptr:: null ( )
74
- }
74
+ } ,
75
75
)
76
76
} ;
77
77
Errno :: result ( res) . map ( |r| r as usize )
@@ -86,7 +86,7 @@ impl Kqueue {
86
86
target_os = "openbsd"
87
87
) ) ]
88
88
type type_of_udata = * mut libc:: c_void ;
89
- #[ cfg( any ( target_os = "netbsd" ) ) ]
89
+ #[ cfg( target_os = "netbsd" ) ]
90
90
type type_of_udata = intptr_t ;
91
91
92
92
#[ cfg( target_os = "netbsd" ) ]
@@ -171,7 +171,7 @@ libc_enum! {
171
171
) ) ]
172
172
#[ doc( hidden) ]
173
173
pub type type_of_event_flag = u16 ;
174
- #[ cfg( any ( target_os = "netbsd" ) ) ]
174
+ #[ cfg( target_os = "netbsd" ) ]
175
175
#[ doc( hidden) ]
176
176
pub type type_of_event_flag = u32 ;
177
177
libc_bitflags ! {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use std::path::Path;
10
10
use std:: slice;
11
11
use std:: str:: FromStr ;
12
12
13
- #[ cfg( any ( target_os = "linux" ) ) ]
13
+ #[ cfg( target_os = "linux" ) ]
14
14
#[ cfg_attr( qemu, ignore) ]
15
15
#[ test]
16
16
pub fn test_timestamping ( ) {
@@ -2082,7 +2082,7 @@ pub fn test_vsock() {
2082
2082
// Disable the test on emulated platforms because it fails in Cirrus-CI. Lack
2083
2083
// of QEMU support is suspected.
2084
2084
#[ cfg_attr( qemu, ignore) ]
2085
- #[ cfg( all ( target_os = "linux" ) ) ]
2085
+ #[ cfg( target_os = "linux" ) ]
2086
2086
#[ test]
2087
2087
fn test_recvmsg_timestampns ( ) {
2088
2088
use nix:: sys:: socket:: * ;
@@ -2137,7 +2137,7 @@ fn test_recvmsg_timestampns() {
2137
2137
// Disable the test on emulated platforms because it fails in Cirrus-CI. Lack
2138
2138
// of QEMU support is suspected.
2139
2139
#[ cfg_attr( qemu, ignore) ]
2140
- #[ cfg( all ( target_os = "linux" ) ) ]
2140
+ #[ cfg( target_os = "linux" ) ]
2141
2141
#[ test]
2142
2142
fn test_recvmmsg_timestampns ( ) {
2143
2143
use nix:: sys:: socket:: * ;
You can’t perform that action at this time.
0 commit comments