diff --git a/core/io/mod.rs b/core/io/mod.rs index d4c082398..cfef44813 100644 --- a/core/io/mod.rs +++ b/core/io/mod.rs @@ -61,7 +61,7 @@ impl IO { let io = Arc::new(syscall::SyscallIO::open(path)?); Ok(PageSource { io }) } - #[cfg(all(feature = "fs", target_os = "darwin"))] + #[cfg(all(feature = "fs", target_os = "linux"))] IOMethod::IoUring => { let io = Arc::new(io_uring::IoUring::open(path)?); Ok(PageSource { io })