From 19a1393d12dd16c14faf53c8b9d61ae2e0dab8ea Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 7 Aug 2022 23:35:37 +0000 Subject: [PATCH] extra/rust to 1.62.1-1.1 closes #1925 --- extra/rust/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD index 9963d4b2f..2b44e146c 100644 --- a/extra/rust/PKGBUILD +++ b/extra/rust/PKGBUILD @@ -10,6 +10,7 @@ # - build v6/v7 with -j2 - RAM constraints # - set llvm-config in config.toml for ARM architectures # - set debuginfo-level = 0 in config.toml - RAM constraints +# - build aarch64 with 16k page support highmem=1 @@ -17,7 +18,7 @@ pkgbase=rust pkgname=(rust rust-src) epoch=1 pkgver=1.62.1 -pkgrel=1 +pkgrel=1.1 pkgdesc="Systems programming language focused on safety, speed and concurrency" url=https://www.rust-lang.org/ arch=(x86_64) @@ -141,6 +142,7 @@ _pick() { build() { cd rustc-$pkgver-src + [[ $CARCH == "aarch64" ]] && export JEMALLOC_SYS_WITH_LG_PAGE=16 export RUST_BACKTRACE=1 export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src" [[ -d $RUST_COMPILER_RT_ROOT ]]