Tweak Rust package guidelines

This commit is contained in:
Acid Xeon 2024-02-22 09:12:12 +00:00
parent f7424840bb
commit 8625c1b87e

View File

@ -25,7 +25,7 @@ b2sums=('a830206f69d72363692996c899fa44af64d4d01bc9b58b3b763f635888cc9d758b6ab61
prepare() { prepare() {
mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver" mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver"
cd "$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() { build() {