summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
author刘皓 <[email protected]>2025-04-20 14:48:02 -0400
committerYuta Saito <[email protected]>2025-04-27 15:47:30 +0900
commit45e814d1167d4e270621249bf2cc72676c54cf58 ()
tree809f288606091e20769657c609d89a5a9cadaf3d /vm.c
parent687bd837244309fa293d6e08d0e13a662fce3a83 (diff)
Fix jump buffer in WASI builds
Notes: Merged: https://.com/ruby/ruby/pull/13142
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
@@ -2852,6 +2852,7 @@ vm_exec_handle_exception(rb_execution_context_t *ec, enum ruby_tag_type state, V
if (VM_FRAME_FINISHED_P(ec->cfp)) {
rb_vm_pop_frame(ec);
ec->errinfo = (VALUE)err;
ec->tag = ec->tag->prev;
EC_JUMP_TAG(ec, state);
}