mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Stop setting TMP_RUBY_PREFIX during prelude
It's unnecessary now that builtin-loader supports sub-libraries:
9faa9ced96
This commit is contained in:
parent
49c138c18b
commit
31c1f3665a
1 changed files with 0 additions and 3 deletions
3
ruby.c
3
ruby.c
|
@ -757,8 +757,6 @@ ruby_init_loadpath(void)
|
|||
rb_ary_push(load_path, path);
|
||||
paths += len + 1;
|
||||
}
|
||||
|
||||
rb_const_set(rb_cObject, rb_intern_const("TMP_RUBY_PREFIX"), ruby_prefix_path);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1772,7 +1770,6 @@ static void
|
|||
ruby_init_prelude(void)
|
||||
{
|
||||
Init_builtin_features();
|
||||
rb_const_remove(rb_cObject, rb_intern_const("TMP_RUBY_PREFIX"));
|
||||
}
|
||||
|
||||
void rb_call_builtin_inits(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue