File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Template file for 'rust-bootstrap'
22pkgname=rust-bootstrap
33version=1.94.0
4- revision=1
4+ revision=2
55short_desc="Rust programming language bootstrap toolchain"
66maintainer="Orphaned <orphan@voidlinux.org>"
77license="Apache-2.0 OR MIT"
1818_bootstrap_url="https://static.rust-lang.org/dist"
1919
2020case "$XBPS_TARGET_MACHINE" in
21- x86_64*|i686) ;;
21+ x86_64*|i686|aarch64* ) ;;
2222 # See srcpkgs/rust-bootstrap/files/generating-distfiles.md for details
2323 *) _bootstrap_url="https://repo-default.voidlinux.org/distfiles";;
2424esac
@@ -50,6 +50,22 @@ case "$XBPS_TARGET_MACHINE" in
5050 70fd1a4cdc6920bfbd352606505d5fb3ccbed7d09c125d2e603908a0ae06fc16
5151 b6786b5c490df2dcef76829039177799058f94e17725b42f912a057c0f6224f2"
5252 ;;
53+ aarch64)
54+ distfiles="
55+ ${_bootstrap_url}/rustc-${version}-aarch64-unknown-linux-gnu.tar.xz
56+ ${_bootstrap_url}/rust-std-${version}-aarch64-unknown-linux-gnu.tar.xz"
57+ checksum="
58+ 7261b2fcdb88aef8b21f4b9f915d9a75c959674193f5b38e13fab4569684fc5b
59+ c781b3ef4fefa5508fbe05820eddc95e46351d905a30921cc020febd9c596a2e"
60+ ;;
61+ aarch64-musl)
62+ distfiles="
63+ ${_bootstrap_url}/rustc-${version}-aarch64-unknown-linux-musl.tar.xz
64+ ${_bootstrap_url}/rust-std-${version}-aarch64-unknown-linux-musl.tar.xz"
65+ checksum="
66+ 05fbca7a22bcae6d6c2fee8b32225297a3055f5de53d3c22e20a918390625b4b
67+ 3513032b2953d795bd3ac1489de4e8174e72500a31b4e7d1b349a23ab78a7a7b"
68+ ;;
5369 # placeholders for user-supplied distfiles
5470 ppc64le)
5571 distfiles="
You can’t perform that action at this time.
0 commit comments