Skip to content

Commit ec7a987

Browse files
committed
fix: significantly reduce rust toolchain size
1 parent fa7e2c8 commit ec7a987

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

get-rust.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -eu
55
RUST_VERSION="${1:-1.88.0}"
66

77
if [ -n "${RUST_VERSION}" ]; then
8-
rustup toolchain install ${RUST_VERSION}
8+
rustup toolchain install --profile minimal ${RUST_VERSION}
99
rustup default ${RUST_VERSION}
10+
1011
fi

0 commit comments

Comments
 (0)