diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2021-06-16 14:02:41 +0200 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:36 -0400 |
commit | d416a15c86f0641f5dda3d32c05a30fd5510ccf6 (patch) | |
tree | 7f825c576d7a76d4636d26a9377225325e35bd38 /yjit_iface.c | |
parent | f16ec70e4fe90028d8584b5447f447c429024dde (diff) |
Warn rather than raise when --yjit-stats is ignored
Diffstat (limited to 'yjit_iface.c')
-rw-r--r-- | yjit_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_iface.c b/yjit_iface.c index 6ed1587560..b255a44221 100644 --- a/yjit_iface.c +++ b/yjit_iface.c @@ -1040,7 +1040,7 @@ rb_yjit_init(struct rb_yjit_options *options) #if !RUBY_DEBUG if(rb_yjit_opts.gen_stats) { - rb_raise(rb_eRuntimeError, "--yjit-stats requires that Ruby is compiled with CPPFLAGS='-DRUBY_DEBUG=1'"); + rb_warning("--yjit-stats requires that Ruby is compiled with CPPFLAGS='-DRUBY_DEBUG=1'"); } #endif |