aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-06-07 17:01:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-06-12 15:36:10 +0900
commit01b13886dc96eb13688d448019a8699f9bdee5ac (patch)
treee88d93958d1ba5bf1fdea7f690c788f87705f1a2 /ruby.c
parent0bc91fa6df66782f1744eae7b92e460e8170eeff (diff)
downloadruby-01b13886dc96eb13688d448019a8699f9bdee5ac.tar.gz
[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 a0982e86d9..b452b0b1ef 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1779,7 +1779,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;
}