Fix build on aarch64

This commit is contained in:
Jeremy Soller
2024-10-06 09:58:37 -06:00
parent 12a3258619
commit fb06d3782f
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -4,9 +4,11 @@ use core::{
};
mod mmio;
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
mod pio;
pub use mmio::*;
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
pub use pio::*;
/// IO abstraction
+1 -1
View File
@@ -35,7 +35,7 @@ impl<T> Mmio<T> {
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
impl<T> Io for Mmio<T>
where
T: Copy + PartialEq + BitAnd<Output = T> + BitOr<Output = T> + Not<Output = T>,
T: Copy + PartialEq + core::ops::BitAnd<Output = T> + core::ops::BitOr<Output = T> + core::ops::Not<Output = T>,
{
type Value = T;