From a80fa36d1e969db7109cd4c914ab9c18dc4bbdd3 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sat, 9 Sep 2023 12:43:08 +0300 Subject: [PATCH] Fix compliation on Linux --- core/io/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })