1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Should use the configured rustc consistently

This commit is contained in:
Nobuyoshi Nakada 2022-11-05 12:48:11 +09:00
parent 3a6cdeda89
commit 10fd1d9507
Notes: git 2022-11-05 21:48:04 +00:00

View file

@ -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]