Fix the unknown warning group on wasm

This commit is contained in:
Nobuyoshi Nakada 2025-06-27 16:29:11 +09:00
parent 64a52c25fe
commit fe9a3be296
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465

View file

@ -4779,7 +4779,7 @@ rb_gc_set_stack_end(VALUE **stack_end_p)
{
VALUE stack_end;
COMPILER_WARNING_PUSH
#ifdef __GNUC__
#if RBIMPL_COMPILER_IS(GCC)
COMPILER_WARNING_IGNORED(-Wdangling-pointer);
#endif
*stack_end_p = &stack_end;