Skip to content

Commit

Permalink
extra/rust to 1.62.1-1.1
Browse files Browse the repository at this point in the history
closes #1925
  • Loading branch information
kmihelich committed Aug 7, 2022
1 parent 5f81abc commit 19a1393
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extra/rust/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
# - 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

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)
Expand Down Expand Up @@ -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 ]]
Expand Down

0 comments on commit 19a1393

Please sign in to comment.