diff options
Diffstat (limited to 'ractor.c')
-rw-r--r-- | ractor.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1394,8 +1394,9 @@ cancel_single_ractor_mode(void) rb_transient_heap_evacuate(); if (rb_warning_category_enabled_p(RB_WARN_CATEGORY_EXPERIMENTAL)) { - rb_warn("Ractor is experimental, and the behavior may change in future versions of Ruby! " - "Also there are many implementation issues."); + rb_category_warn(RB_WARN_CATEGORY_EXPERIMENTAL, + "Ractor is experimental, and the behavior may change in future versions of Ruby! " + "Also there are many implementation issues."); } ruby_single_main_ractor = NULL; |