From 7160b019298a691f68b315905db609e5d82776a2 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Fri, 26 Aug 2022 13:09:29 -0600 Subject: [PATCH] scripts: Install Rust with stable toolchain The trick of using `show` to install components requires a default toolchain be set. Assume users with Rust installed already have one set, and use stable for new installs. Signed-off-by: Tim Crawford --- scripts/deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deps.sh b/scripts/deps.sh index dc7e10b..d33d4ac 100755 --- a/scripts/deps.sh +++ b/scripts/deps.sh @@ -101,7 +101,7 @@ else RUSTUP_NEW_INSTALL=1 msg "Installing Rust" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \ - | sh -s -- -y --default-toolchain none + | sh -s -- -y --default-toolchain stable msg "Loading Rust environment" source "${HOME}/.cargo/env"