Skip to content

Commit 03cb174

Browse files
committed
Install nightly rustfmt
1 parent b9608c7 commit 03cb174

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/setup.sh

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ rust_version=$(<rust-toolchain)
66
# rustup
77
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $rust_version
88

9+
# Make rustup available to this script
10+
source "$HOME/.cargo/env"
11+
12+
# Install nightly rustfmt
13+
rustup toolchain install nightly --profile minimal --component rustfmt
14+
915
sudo apt update
1016

1117
# TODO: nodejs, npm, yarn

0 commit comments

Comments
 (0)