Skip to content

Commit 832b311

Browse files
committed
Install rustfmt by default when doing a rustup
1 parent 3fc673d commit 832b311

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/rustup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ case $1 in
99
echo "=> Installing new nightly"
1010
rustup toolchain install --profile minimal nightly-${TOOLCHAIN} # Sanity check to see if the nightly exists
1111
echo nightly-${TOOLCHAIN} > rust-toolchain
12+
rustup component add rustfmt || true
1213

1314
echo "=> Uninstalling all old nighlies"
1415
for nightly in $(rustup toolchain list | grep nightly | grep -v $TOOLCHAIN | grep -v nightly-x86_64); do

0 commit comments

Comments
 (0)