Skip to content

Commit bb80cdd

Browse files
committed
tunet-rust-git: update prepare() function to follow Rust package guidelines
1 parent fa7b4cc commit bb80cdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

archlinuxcn/tunet-rust-git/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pkgver() {
2828
prepare() {
2929
cd "${_pkgname}/"
3030
export RUSTUP_TOOLCHAIN=stable
31-
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
31+
cargo fetch --locked --target $(rustc --print host-tuple)
3232
}
3333

3434
build() {

0 commit comments

Comments
 (0)