diff --git a/ruby.c b/ruby.c index 9541fce9b8..ddfb1476d6 100644 --- a/ruby.c +++ b/ruby.c @@ -1455,7 +1455,8 @@ proc_long_options(ruby_cmdline_options_t *opt, const char *s, long argc, char ** } else if (is_option_with_optarg("zjit", '-', true, false, false)) { FEATURE_SET(opt->features, FEATURE_BIT(yjit)); - // TODO + extern bool rb_zjit_parse_option(); + rb_zjit_parse_option(); } else if (strcmp("yydebug", s) == 0) { if (envopt) goto noenvopt_long; diff --git a/zjit/src/lib.rs b/zjit/src/lib.rs index 4cd4f8a25e..99a6982c73 100644 --- a/zjit/src/lib.rs +++ b/zjit/src/lib.rs @@ -10,5 +10,6 @@ extern "C" fn zjit_init() { #[no_mangle] pub extern "C" fn rb_zjit_parse_option() -> bool { + println!("parsing zjit"); false }