diff --git a/Cargo.toml b/Cargo.toml index 74c964e6a039e8a08f3435a1f19c3dc4aafd1591..3af414cfe0c6d75be46bf884c66ccb30506faee2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redox_syscall" -version = "0.2.3" +version = "0.2.4" description = "A Rust library to access raw Redox system calls" license = "MIT" authors = ["Jeremy Soller "] diff --git a/src/lib.rs b/src/lib.rs index 637dc29010eb7612dfed419a2550f1a97bf564e4..fb382390ec6932de65b96d98709733f27f0c5640 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,23 +15,23 @@ pub use self::io::*; pub use self::number::*; pub use self::scheme::*; -#[cfg(all(target_os = "redox", target_arch = "arm"))] +#[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "arm"))] #[path="arch/arm.rs"] mod arch; -#[cfg(all(target_os = "redox", target_arch = "aarch64"))] +#[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "aarch64"))] #[path="arch/aarch64.rs"] mod arch; -#[cfg(all(target_os = "redox", target_arch = "x86"))] +#[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "x86"))] #[path="arch/x86.rs"] mod arch; -#[cfg(all(target_os = "redox", target_arch = "x86_64"))] +#[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "x86_64"))] #[path="arch/x86_64.rs"] mod arch; -#[cfg(not(target_os = "redox"))] +#[cfg(not(any(target_os = "none", target_os = "redox")))] #[path="arch/nonredox.rs"] mod arch;