Fix compliation on Linux

This commit is contained in:
Pekka Enberg 2023-09-09 12:43:08 +03:00
parent caf56bdc77
commit a80fa36d1e

View file

@ -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 })