зеркало из https://github.com/github/ruby.git
Should use the configured rustc consistently
This commit is contained in:
Родитель
3a6cdeda89
Коммит
10fd1d9507
|
@ -3756,7 +3756,7 @@ AC_ARG_ENABLE(yjit,
|
||||||
[YJIT_SUPPORT=$enableval],
|
[YJIT_SUPPORT=$enableval],
|
||||||
[
|
[
|
||||||
AS_IF([test x"$RUSTC" != "xno"],
|
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"],
|
AS_IF([test x"$YJIT_TARGET_OK" != "xno"],
|
||||||
[YJIT_SUPPORT=yes],
|
[YJIT_SUPPORT=yes],
|
||||||
[YJIT_SUPPORT=no]
|
[YJIT_SUPPORT=no]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче