diff --git a/crates/wasmtime/src/runtime/vm/arch/riscv64.rs b/crates/wasmtime/src/runtime/vm/arch/riscv64.rs index fba5373bfd5e..e369623aa0c4 100644 --- a/crates/wasmtime/src/runtime/vm/arch/riscv64.rs +++ b/crates/wasmtime/src/runtime/vm/arch/riscv64.rs @@ -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),