Skip to content

Commit f8b6717

Browse files
committed
Fix an argument on macos.
1 parent 1553ad6 commit f8b6717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wasmtime/src/runtime/vm/sys/unix/machports.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ unsafe fn handle_exception(request: &mut ExceptionRequest) -> bool {
313313
state.__rsp as usize,
314314
);
315315

316-
let resume = |state: &mut ThreadState, pc: usize, fp: usize, fp, usize, fault1: usize, fault2: usize, trap: Trap| {
316+
let resume = |state: &mut ThreadState, pc: usize, fp: usize, sp, usize, fault1: usize, fault2: usize, trap: Trap| {
317317
// The x86_64 ABI requires a 16-byte stack alignment for
318318
// functions, so typically we'll be 16-byte aligned. In this
319319
// case we simulate a `call` instruction by decrementing the

0 commit comments

Comments
 (0)