summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-06-06 01:03:32 +0000
committerGitHub <noreply@github.com>2023-06-06 01:03:32 +0000
commit89b4976fddf713ca54834612e351ae35d86c430a (patch)
tree4a50c3e22a2d3b302b07d9045572bb251386d8cb /src/sys
parentc6f9e2332efcf62c751d7a0174bb791e732b90a8 (diff)
parent57cdbed0ab9077e33d48c1b7a6f44b5cc0e67cbd (diff)
downloadnix-89b4976fddf713ca54834612e351ae35d86c430a.zip
Merge #2052
2052: Fix CI with the latest rustup r=asomers a=asomers Co-authored-by: Alan Somers <asomers@gmail.com> Co-authored-by: Ben Kimock <kimockb@gmail.com>
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/event.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/event.rs b/src/sys/event.rs
index 5dcf121a..58e48c91 100644
--- a/src/sys/event.rs
+++ b/src/sys/event.rs
@@ -86,7 +86,7 @@ impl Kqueue {
target_os = "openbsd"
))]
type type_of_udata = *mut libc::c_void;
-#[cfg(any(target_os = "netbsd"))]
+#[cfg(target_os = "netbsd")]
type type_of_udata = intptr_t;
#[cfg(target_os = "netbsd")]
@@ -171,7 +171,7 @@ libc_enum! {
))]
#[doc(hidden)]
pub type type_of_event_flag = u16;
-#[cfg(any(target_os = "netbsd"))]
+#[cfg(target_os = "netbsd")]
#[doc(hidden)]
pub type type_of_event_flag = u32;
libc_bitflags! {