[arch-commits] Commit in dust/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Thu Aug 5 19:04:01 UTC 2021


    Date: Thursday, August 5, 2021 @ 19:04:01
  Author: alerque
Revision: 993880

Implement more Rust package guidelines

Modified:
  dust/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-05 18:55:27 UTC (rev 993879)
+++ PKGBUILD	2021-08-05 19:04:01 UTC (rev 993880)
@@ -15,14 +15,12 @@
 
 prepare() {
   cd "$pkgname-$pkgver"
-  export RUSTUP_TOOLCHAIN=stable
-  cargo fetch --locked
+  cargo fetch --locked --target x86_64-unknown-linux-gnu
 }
 
 build() {
   cd "$pkgname-$pkgver"
-  export RUSTUP_TOOLCHAIN=stable
-  cargo build --release --locked --offline --all-features --target-dir=target
+  cargo build --frozen --release --all-features
 }
 
 package() {



More information about the arch-commits mailing list