diff --git a/src/lib.rs b/src/lib.rs index 3331fe2..800f2dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -86,12 +86,12 @@ pub mod ext { } #[inline] - #[cfg(any(target_arch = "aarch64", target_arch = "x86"))] + #[cfg(target_arch = "aarch64")] pub unsafe fn __readfsdword(offset: u32) -> usize { 0usize } #[inline] - #[cfg(target_arch = "aarch64")] + #[cfg(any(target_arch = "aarch64", target_arch = "x86"))] pub unsafe fn __readgsqword(offset: u32) -> usize { 0usize }