Skip to content

Commit d22d83c

Browse files
authored
Merge pull request #153 from emqx/20260218-reduce-rust-toolchain-size
fix: significantly reduce rust toolchain size
2 parents fa7e2c8 + ec7a987 commit d22d83c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)