[前][次][番号順一覧][スレッド一覧]

ruby-changes:68611

From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:10:41 +0900 (JST)
Subject: [ruby-changes:68611] a8d784888d (master): Fix mistake in ujit command line parsing

https://git.ruby-lang.org/ruby.git/commit/?id=a8d784888d

From a8d784888dd75abefa468e7b0a266be06c31248c Mon Sep 17 00:00:00 2001
From: Alan Wu <XrXr@u...>
Date: Mon, 28 Sep 2020 17:05:07 -0400
Subject: Fix mistake in ujit command line parsing

---
 ruby.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ruby.c b/ruby.c
index ace1e99fcc..97498e4ef4 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1441,7 +1441,7 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt) https://github.com/ruby/ruby/blob/trunk/ruby.c#L1441
 #endif
             }
             else if (strncmp("ujit", s, 4) == 0) {
-                FEATURE_SET(opt->features, FEATURE_BIT(jit));
+                FEATURE_SET(opt->features, FEATURE_BIT(ujit));
             }
 	    else if (strcmp("yydebug", s) == 0) {
 		if (envopt) goto noenvopt_long;
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]