diff --git a/scripts/dev_setup.sh b/scripts/dev_setup.sh index 84763fa616aed3..de53e245eb55d4 100755 --- a/scripts/dev_setup.sh +++ b/scripts/dev_setup.sh @@ -466,8 +466,9 @@ function install_rustup_components_and_nightly { rustup show rustup toolchain list -v - echo "Updating rustup and installing rustfmt & clippy" + echo "Updating rustup and installing the latest rustc, rustfmt & clippy" rustup update + rustup toolchain install stable # Install the latest toolchain to ensure that dependencies can always be built (even aptos-core is behind) rustup component add rustfmt rustup component add clippy