PKGBUILD: more precise environment

This commit is contained in:
Miraty 2024-03-15 10:26:47 +01:00
parent 78bbf29805
commit c03cb0d9e2
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ makedepends=('cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
prepare() {
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
@ -17,6 +18,7 @@ build() {
check() {
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo test --frozen --all-features
}