Add --no-default-features to PKGBUILD (#355)

This commit is contained in:
Clement Tsang 2020-12-14 20:36:17 -08:00 committed by GitHub
parent 5d7697d3da
commit 508fe50b3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,12 +14,12 @@ sha512sums=('$hash1')
build() { build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
cargo build --release --locked cargo build --release --locked --no-default-features
} }
check() { check() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
CARGO_HUSKY_DONT_INSTALL_HOOKS=true cargo test --release --locked CARGO_HUSKY_DONT_INSTALL_HOOKS=true cargo test --release --locked --no-default-features
} }
package() { package() {