Skip to content

Commit 31c1f36

Browse files
etiennebarrienobu
authored andcommitted
Stop setting TMP_RUBY_PREFIX during prelude
It's unnecessary now that builtin-loader supports sub-libraries: 9faa9ce
1 parent 49c138c commit 31c1f36

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ruby.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,6 @@ ruby_init_loadpath(void)
757757
rb_ary_push(load_path, path);
758758
paths += len + 1;
759759
}
760-
761-
rb_const_set(rb_cObject, rb_intern_const("TMP_RUBY_PREFIX"), ruby_prefix_path);
762760
}
763761

764762

@@ -1772,7 +1770,6 @@ static void
17721770
ruby_init_prelude(void)
17731771
{
17741772
Init_builtin_features();
1775-
rb_const_remove(rb_cObject, rb_intern_const("TMP_RUBY_PREFIX"));
17761773
}
17771774

17781775
void rb_call_builtin_inits(void);

0 commit comments

Comments
 (0)