0.2.4 - use correct arch when target_os is none

parent 3dc594c1
Pipeline #8950 failed with stages
in 2 minutes and 40 seconds
[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 <jackpot51@gmail.com>"]
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment