summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-05-05 15:00:02 +0200
committerJean Boussier <[email protected]>2025-05-05 15:34:32 +0200
commit3a2e56e6855b36ca4fe1e086c3eed89ec2c4af31 ()
treee0a10ae86f48e323244623fc67ac3c28ca84b5d6
parenta3af4e905f66e9f95396ae5619cfb486feb6ee4a (diff)
Fix `USE_MN_THREADS=0` builds on macOS
This was recently broken.
Notes: Merged: https://.com/ruby/ruby/pull/13258
-rw-r--r--vm_dump.c4
1 files changed, 4 insertions, 0 deletions
@@ -515,9 +515,13 @@ rb_vmdebug_thread_dump_state(FILE *errout, VALUE self)
static bool
is_coroutine_start(unw_word_t ip)
{
struct coroutine_context;
extern void ruby_coroutine_start(struct coroutine_context *, struct coroutine_context *);
return ((void *)(ip) == (void *)ruby_coroutine_start);
}
# endif