From 0c98fbd16212282aeb3db17c991472885a9b79be Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Tue, 26 Jul 2022 15:30:10 -0600 Subject: [PATCH] 0.2.16 - expose io::Pio on x86 32-bit --- Cargo.toml | 2 +- src/io/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;