summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-07-08 15:42:06 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2024-07-08 15:42:06 -0700
commita40645e115e6cd6328bb302dfc78b16f6ad45938 (patch)
tree02bc8724c5973e7ffdf1890305ceeb037e4ff8e0 /ruby.c
parent9a8454ea5ca2bb4d6540d5c43b8e91e199ed1a8a (diff)
merge revision(s) 01b13886: [Backport #20562]
[Bug #20562] Categorize `RUBY_FREE_AT_EXIT` warning as experimental
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 821213484e..0288867fde 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1769,7 +1769,7 @@ ruby_opt_init(ruby_cmdline_options_t *opt)
}
if (getenv("RUBY_FREE_AT_EXIT")) {
- rb_warn("Free at exit is experimental and may be unstable");
+ rb_category_warn(RB_WARN_CATEGORY_EXPERIMENTAL, "Free at exit is experimental and may be unstable");
rb_free_at_exit = true;
}