Skip to content

Commit 4aebda4

Browse files
committed
cargo-bootstrap: add aarch64
1 parent 8aa44f4 commit 4aebda4

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

srcpkgs/cargo-bootstrap/template

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Template file for 'cargo-bootstrap'
22
pkgname=cargo-bootstrap
33
version=1.94.0
4-
revision=1
4+
revision=2
55
short_desc="Bootstrap binaries of Rust package manager"
66
maintainer="Orphaned <orphan@voidlinux.org>"
77
license="Apache-2.0 OR MIT"
@@ -14,7 +14,7 @@ repository=bootstrap
1414
_bootstrap_url="https://static.rust-lang.org/dist"
1515

1616
case "$XBPS_TARGET_MACHINE" in
17-
x86_64*|i686) ;;
17+
x86_64*|i686|aarch64*) ;;
1818
# See srcpkgs/rust-bootstrap/files/generating-distfiles.md for details
1919
*) _bootstrap_url="https://repo-default.voidlinux.org/distfiles" ;;
2020
esac
@@ -34,6 +34,14 @@ case "$XBPS_TARGET_MACHINE" in
3434
distfiles="${_bootstrap_url}/cargo-${version}-x86_64-unknown-linux-musl.tar.xz"
3535
checksum="3a9736d69a3342944ad58fd3abd0caa6e7ae91033b781272fa60afb665d2178e"
3636
;;
37+
aarch64)
38+
distfiles="${_bootstrap_url}/cargo-${version}-aarch64-unknown-linux-gnu.tar.xz"
39+
checksum="d57ab7b23b52cba46e58c78327904d0c7db19892988677b0d59495c8af4bb790"
40+
;;
41+
aarch64-musl)
42+
distfiles="${_bootstrap_url}/cargo-${version}-aarch64-unknown-linux-musl.tar.xz"
43+
checksum="3dc246b499ce827a038d933845f6c2965c85f15eb6d1d7e835df445fa540cf0f"
44+
;;
3745
# placeholders for user-supplied distfiles
3846
ppc64le)
3947
distfiles="${_bootstrap_url}/cargo-${version}-powerpc64le-unknown-linux-gnu.tar.xz"

0 commit comments

Comments
 (0)