mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +00:00
uucore: allow the Linux zero-copy setup on Android
This commit is contained in:
parent
f79f0716ee
commit
76aef60d80
1 changed files with 4 additions and 4 deletions
|
@ -1,21 +1,21 @@
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
pub use self::unix::*;
|
pub use self::unix::*;
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||||
pub use self::linux::*;
|
pub use self::linux::*;
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
pub use self::windows::*;
|
pub use self::windows::*;
|
||||||
|
|
||||||
// Add any operating systems we support here
|
// Add any operating systems we support here
|
||||||
#[cfg(not(any(target_os = "linux")))]
|
#[cfg(not(any(target_os = "linux", target_os = "android")))]
|
||||||
pub use self::default::*;
|
pub use self::default::*;
|
||||||
|
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
mod unix;
|
mod unix;
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||||
mod linux;
|
mod linux;
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
mod windows;
|
mod windows;
|
||||||
|
|
||||||
// Add any operating systems we support here
|
// Add any operating systems we support here
|
||||||
#[cfg(not(any(target_os = "linux")))]
|
#[cfg(not(any(target_os = "linux", target_os = "android")))]
|
||||||
mod default;
|
mod default;
|
||||||
|
|
Loading…
Reference in a new issue