diff --git a/Cargo.toml b/Cargo.toml index bd550cc..72a36d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redox_syscall" -version = "0.2.15" +version = "0.2.16" description = "A Rust library to access raw Redox system calls" license = "MIT" authors = ["Jeremy Soller "] diff --git a/src/io/mod.rs b/src/io/mod.rs index a9cd4c8..a225f06 100644 --- a/src/io/mod.rs +++ b/src/io/mod.rs @@ -4,12 +4,12 @@ pub use self::dma::*; pub use self::io::*; pub use self::mmio::*; -#[cfg(target_arch = "x86_64")] +#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub use self::pio::*; mod dma; mod io; mod mmio; -#[cfg(target_arch = "x86_64")] +#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] mod pio;