ruby-changes:70814
From: Nobuyoshi <ko1@a...>
Date: Tue, 11 Jan 2022 11:53:37 +0900 (JST)
Subject: [ruby-changes:70814] 8b585f7460 (master): Define YJIT options only when supported
https://git.ruby-lang.org/ruby.git/commit/?id=8b585f7460 From 8b585f74604318995daa337d41f19fabb9ce3711 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 11 Jan 2022 10:12:40 +0900 Subject: Define YJIT options only when supported --- ruby.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruby.c b/ruby.c index c807b8be5e8..b98f1252753 100644 --- a/ruby.c +++ b/ruby.c @@ -191,7 +191,9 @@ struct ruby_cmdline_options { https://github.com/ruby/ruby/blob/trunk/ruby.c#L191 #if USE_MJIT struct mjit_options mjit; #endif +#if YJIT_SUPPORTED_P struct rb_yjit_options yjit; +#endif int sflag, xflag; unsigned int warning: 1; -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/