Skip to content

Commit

Permalink
Fixed: Build for aarch64 due to no_std promise broken
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Nov 27, 2023
1 parent a4da2e4 commit 3f9ad31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-rust/src/utilities/icache_clear.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub fn clear_instruction_cache(start: *const u8, end: *const u8) {
unsafe {
FlushInstructionCache(
GetCurrentProcess(),
Some(start as *const std::ffi::c_void),
Some(start as *const core::ffi::c_void),
end as usize - start as usize,
);
}
Expand Down

0 comments on commit 3f9ad31

Please sign in to comment.