mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Revert "Load external GC using command line argument"
This reverts commit 8ddb1110c2
.
This commit is contained in:
parent
32ba86c9be
commit
8fd2df529b
3 changed files with 16 additions and 26 deletions
10
ruby.c
10
ruby.c
|
@ -1441,16 +1441,6 @@ proc_long_options(ruby_cmdline_options_t *opt, const char *s, long argc, char **
|
|||
else if (is_option_with_arg("source-encoding", Qfalse, Qtrue)) {
|
||||
set_source_encoding_once(opt, s, 0);
|
||||
}
|
||||
#endif
|
||||
#if defined(USE_SHARED_GC) && USE_SHARED_GC
|
||||
else if (is_option_with_arg("gc-library", Qfalse, Qfalse)) {
|
||||
// no-op
|
||||
// Handled by ruby_load_external_gc_from_argv
|
||||
|
||||
if (!dln_supported_p()) {
|
||||
rb_warn("--gc-library is ignored because this executable file can't load extension libraries");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
else if (strcmp("version", s) == 0) {
|
||||
if (envopt) goto noenvopt_long;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue