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]