cargo: bootstrap binary is RUST_BUILD, not RUST_TARGET

This commit is contained in:
q66 2020-12-17 07:25:13 +01:00
parent 79f2291898
commit d6f07b04c2

View File

@ -84,7 +84,7 @@ esac
post_extract() { post_extract() {
mkdir -p target/snapshot 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() { do_build() {