From ebe6aa0d28136753a03868c2990f714d1e1bbaf1 Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Mon, 4 Aug 2025 15:45:11 -0300 Subject: [PATCH] adjust cfg for unix and linux IO --- core/io/mod.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/io/mod.rs b/core/io/mod.rs index 3eaa65ccc..58f663592 100644 --- a/core/io/mod.rs +++ b/core/io/mod.rs @@ -330,14 +330,9 @@ cfg_block! { mod io_uring; #[cfg(feature = "fs")] pub use io_uring::UringIO; - mod unix; - #[cfg(feature = "fs")] - pub use unix::UnixIO; - pub use unix::UnixIO as SyscallIO; - pub use unix::UnixIO as PlatformIO; } - #[cfg(any(all(target_os = "linux",not(feature = "io_uring")), target_os = "macos"))] { + #[cfg(target_family = "unix")] { mod unix; #[cfg(feature = "fs")] pub use unix::UnixIO;