diff --git a/rust-toolchain b/rust-toolchain index bf867e0ae5..148ed93dbc 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly +nightly-2020-10-25 diff --git a/setup.bat b/setup.bat index fbf01d8449..8fdee1ca20 100644 --- a/setup.bat +++ b/setup.bat @@ -1,3 +1,3 @@ setlocal -rustup toolchain install nightly --component rust-src rustc-dev llvm-tools-preview +rustup component add rust-src rustc-dev llvm-tools-preview diff --git a/setup.sh b/setup.sh index 023069c85a..ea2ec67c03 100755 --- a/setup.sh +++ b/setup.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -rustup toolchain install nightly --component rust-src rustc-dev llvm-tools-preview +rustup component add rust-src rustc-dev llvm-tools-preview