mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
namespace on read
This commit is contained in:
parent
49742414f6
commit
382645d440
86 changed files with 5850 additions and 702 deletions
3
ruby.c
3
ruby.c
|
@ -1824,6 +1824,9 @@ ruby_opt_init(ruby_cmdline_options_t *opt)
|
|||
|
||||
ruby_init_prelude();
|
||||
|
||||
if (rb_namespace_available())
|
||||
rb_initialize_main_namespace();
|
||||
|
||||
// Initialize JITs after prelude because JITing prelude is typically not optimal.
|
||||
#if USE_YJIT
|
||||
rb_yjit_init(opt->yjit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue