From dddbf2b18ae21c73192de2f0101e1c2e97878e34 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 11 Feb 2021 14:59:58 +0000 Subject: [PATCH] community/rust: fix cross compilation for x86_64 to aarch64 by using x.py dist instead of x.py build --- community/rust/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/community/rust/APKBUILD b/community/rust/APKBUILD index 40237dd6df9..9b0636e5e8f 100644 --- a/community/rust/APKBUILD +++ b/community/rust/APKBUILD @@ -31,6 +31,10 @@ makedepends_build=" llvm$_llvmver-test-utils rust-bootstrap=>$_bootver cargo-bootstrap=>$_bootver + curl-dev + libgit2-dev + openssl-dev + zlib-dev " makedepends_host=" curl-dev @@ -164,7 +168,7 @@ build() { sed 's/#deny-warnings = .*/deny-warnings = false/' -i config.toml sed 's|deny(warnings,|deny(|' -i src/bootstrap/lib.rs - $_python ./x.py build --jobs ${JOBS:-2} + $_python ./x.py dist -vv --jobs ${JOBS:-2} } check() {