From 10fd1d9507a87bc9cdb1592cdb10c7890e52eb30 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 5 Nov 2022 12:48:11 +0900 Subject: [PATCH] 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, [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]