PKGBUILD: more precise environment
This commit is contained in:
parent
78bbf29805
commit
c03cb0d9e2
2
PKGBUILD
2
PKGBUILD
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue