Skip to content

Commit

Permalink
Fix pulley tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Dec 12, 2024
1 parent 6834f54 commit f900492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulley/tests/all/interp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ unsafe fn run(vm: &mut Vm, ops: &[Op]) -> Result<(), NonNull<u8>> {
let ops = encoded(ops);
match vm.call(NonNull::from(&ops[..]).cast(), &[], []) {
DoneReason::ReturnToHost(_) => Ok(()),
DoneReason::Trap(pc) => Err(pc),
DoneReason::Trap { pc, .. } => Err(pc),
DoneReason::CallIndirectHost { .. } => unimplemented!(),
}
}
Expand Down

0 comments on commit f900492

Please sign in to comment.