From 6c710f1990f5f1aff00c7095238868604580ea61 Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Fri, 21 Jun 2024 16:04:21 +0200 Subject: [PATCH] Reexport everything from sys::unix::selector Means we can remove the cfg_io_source! macro usage as that is already done in the selector implementation file. --- src/sys/unix/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/sys/unix/mod.rs b/src/sys/unix/mod.rs index 3986cae38..4f21eb436 100644 --- a/src/sys/unix/mod.rs +++ b/src/sys/unix/mod.rs @@ -49,11 +49,7 @@ cfg_os_poll! { target_os = "vita", ), path = "selector/poll.rs")] mod selector; - pub(crate) use self::selector::{event, Event, Events, Selector}; - - cfg_io_source! { - pub(crate) use self::selector::IoSourceState; - } + pub(crate) use self::selector::*; mod sourcefd; #[cfg(feature = "os-ext")]