From d6f07b04c2565e2fb6af4fdd02c30d5063409591 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 17 Dec 2020 07:25:13 +0100 Subject: [PATCH] cargo: bootstrap binary is RUST_BUILD, not RUST_TARGET --- srcpkgs/cargo/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/cargo/template b/srcpkgs/cargo/template index 4f29e6557c1..923c5369e78 100644 --- a/srcpkgs/cargo/template +++ b/srcpkgs/cargo/template @@ -84,7 +84,7 @@ esac post_extract() { mkdir -p target/snapshot - cp ../cargo-${_cargo_dist_version}-${RUST_TARGET}/cargo/bin/cargo cargo + cp ../cargo-${_cargo_dist_version}-${RUST_BUILD}/cargo/bin/cargo cargo } do_build() {