summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2020-12-14 20:36:17 -0800
committerGitHub <noreply@github.com>2020-12-14 23:36:17 -0500
commit508fe50b3cf7fe5fd8d683922ee1d6f26aecb114 (patch)
tree5f4f28920b6a8c9b0def80183e211f7bf488a3a0
parent5d7697d3da6e9e481bca38fc6e1d28e8e48ff2ee (diff)
Add --no-default-features to PKGBUILD (#355)
-rw-r--r--deployment/linux/arch/PKGBUILD.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/linux/arch/PKGBUILD.template b/deployment/linux/arch/PKGBUILD.template
index 77ffee96..b9e6ea3f 100644
--- a/deployment/linux/arch/PKGBUILD.template
+++ b/deployment/linux/arch/PKGBUILD.template
@@ -14,12 +14,12 @@ sha512sums=('$hash1')
build() {
cd $pkgname-$pkgver
- cargo build --release --locked
+ cargo build --release --locked --no-default-features
}
check() {
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() {