Skip to content

Commit

Permalink
Fix riscv64 for no-std (#8770)
Browse files Browse the repository at this point in the history
  • Loading branch information
theoparis authored Jun 10, 2024
1 parent 9592d12 commit b7aacfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmtime/src/runtime/vm/arch/riscv64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub type V128Abi = u128;
pub fn get_stack_pointer() -> usize {
let stack_pointer: usize;
unsafe {
std::arch::asm!(
core::arch::asm!(
"mv {}, sp",
out(reg) stack_pointer,
options(nostack,nomem),
Expand Down

0 comments on commit b7aacfc

Please sign in to comment.