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

ruby-changes:74369

From: Nobuyoshi <ko1@a...>
Date: Sun, 6 Nov 2022 06:48:06 +0900 (JST)
Subject: [ruby-changes:74369] 10fd1d9507 (master): Should use the configured rustc consistently

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

From 10fd1d9507a87bc9cdb1592cdb10c7890e52eb30 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 5 Nov 2022 12:48:11 +0900
Subject: Should use the configured rustc consistently

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c73b7fb7e1..7b0c6014b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3756,7 +3756,7 @@ AC_ARG_ENABLE(yjit, https://github.com/ruby/ruby/blob/trunk/configure.ac#L3756
     [YJIT_SUPPORT=$enableval],
     [
         AS_IF([test x"$RUSTC" != "xno"],
-            AS_IF([ echo "fn main() { let x = 1; format!(\"{x}\"); }" | rustc - --emit asm=/dev/null ],
+            AS_IF([ echo "fn main() { let x = 1; format!(\"{x}\"); }" | $RUSTC - --emit asm=/dev/null ],
                 AS_IF([test x"$YJIT_TARGET_OK" != "xno"],
                     [YJIT_SUPPORT=yes],
                     [YJIT_SUPPORT=no]
-- 
cgit v1.2.3


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

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