Skip to content

Commit

Permalink
rust: set _bootstrapping=no for all architectures (not just aarch64)
Browse files Browse the repository at this point in the history
when _bootstrapping=no, the rust build is configured to use the local rust for stage 0.
stage 0 will use the installed MSYS2 rust (must be 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 (?)
  • Loading branch information
filnet committed Apr 18, 2023
1 parent 3a92c52 commit b472934
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mingw-w64-rust/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
# Contributor: Philippe Renon <philippe_renon@yahoo.fr>

_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
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-rust-docs")
pkgver=1.69.0
pkgrel=1
pkgrel=2
pkgdesc="Systems programming language focused on safety, speed and concurrency (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
Expand Down

0 comments on commit b472934

Please sign in to comment.