From 01b13886dc96eb13688d448019a8699f9bdee5ac Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 7 Jun 2024 17:01:14 +0900 Subject: [PATCH] [Bug #20562] Categorize `RUBY_FREE_AT_EXIT` warning as experimental --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }