extra/rust to 1.62.1-1.1

closes #1925
This commit is contained in:
Kevin Mihelich 2022-08-07 23:35:37 +00:00
parent 5f81abcb1e
commit 19a1393d12

View file

@ -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 ]]