diff --git a/mingw-w64-rust/PKGBUILD b/mingw-w64-rust/PKGBUILD index 235aac5ac6ac5..8b5fb45e3aadb 100644 --- a/mingw-w64-rust/PKGBUILD +++ b/mingw-w64-rust/PKGBUILD @@ -4,7 +4,11 @@ # Contributor: Philippe Renon _realname=rust -_bootstrapping=yes +# when _bootstrapping=no, the rust build is configured to use the local rust for stage 0 +# stage 0 will use the installed MSYS2 rust (hopefully the latest version...) +# when _bootstrapping=yes, the build is configured to download and extract the previous rust version +# in this case, the official rust build will be used which kind of defeats the point (?) +_bootstrapping=no if [[ $MINGW_PACKAGE_PREFIX == *-clang-aarch64 ]]; then _bootstrapping=no fi