Un-constify mark_current_machine_context on wasm

As `SET_STACK_END` updates `ec->machine.stack_end`, it cannot be
const.
This commit is contained in:
Nobuyoshi Nakada 2025-01-16 20:11:26 +09:00
parent fe03cc22e6
commit 5df20ab0b4
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

2
gc.c
View File

@ -2485,7 +2485,7 @@ mark_current_machine_context(const rb_execution_context_t *ec)
# else // use Asyncify version
static void
mark_current_machine_context(const rb_execution_context_t *ec)
mark_current_machine_context(rb_execution_context_t *ec)
{
VALUE *stack_start, *stack_end;
SET_STACK_END;