Skip to content

Commit

Permalink
fix(arch): add dummy intrinsics for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Dec 29, 2024
1 parent d6b529d commit 6776cf6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ pub mod ext {
out
}

#[inline]
#[cfg(target_arch = "aarch64")]
pub unsafe fn __readfsdword(offset: u32) -> usize {
0usize
}
#[inline]
#[cfg(target_arch = "aarch64")]
pub unsafe fn __readgsqword(offset: u32) -> usize {
Expand Down

0 comments on commit 6776cf6

Please sign in to comment.