mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Warn rather than raise when --yjit-stats is ignored
This commit is contained in:
parent
f16ec70e4f
commit
d416a15c86
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue