mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-20 07:25:14 +01:00
adjust cfg for unix and linux IO
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user