Skip to content

Commit 5633a92

Browse files
committed
Problem: Dist doesn't get the built version of cargo
Solution: Include it in the target folder before zipping
1 parent 6c48bfc commit 5633a92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dist.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ TOOLCHAIN_DEST="${DEST}/toolchain-${RUST_TOOLCHAIN}"
99
rm -rf "$TOOLCHAIN_DEST"
1010
mkdir -p "$TOOLCHAIN_DEST"
1111
cp -r "$WORKING_DIR/rust-build/build/x86_64-apple-darwin/stage2"/* "$TOOLCHAIN_DEST"
12+
cp -r "$WORKING_DIR/rust-build/build/x86_64-apple-darwin/stage2-tools/x86_64-apple-darwin/release/cargo" "$TOOLCHAIN_DEST/bin"
1213

1314
cp LICENSE* README.md "$DEST"
1415

0 commit comments

Comments
 (0)