From 8625c1b87e1f850b67c68e6c170e9d3742bcd629 Mon Sep 17 00:00:00 2001 From: Acid Xeon Date: Thu, 22 Feb 2024 09:12:12 +0000 Subject: [PATCH] Tweak Rust package guidelines --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index cfcefcb..7553cea 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -25,7 +25,7 @@ b2sums=('a830206f69d72363692996c899fa44af64d4d01bc9b58b3b763f635888cc9d758b6ab61 prepare() { mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver" cd "$pkgname-$pkgver" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } build() {