diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fcf984ccaaf..663b4042b42 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -147,7 +147,7 @@ You can use [rustup-toolchain-install-master][rtim] to do that: ```bash cargo install rustup-toolchain-install-master -rustup-toolchain-install-master --force -n master -c rustc-dev +rustup-toolchain-install-master --force -n master rustup override set master cargo test ``` diff --git a/appveyor.yml b/appveyor.yml index 93bb8bde7d2..62fd7825ed9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,7 +19,7 @@ install: - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - del rust-toolchain - cargo install --git https://github.com/kennytm/rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed" - - rustup-toolchain-install-master -f -n master -c rustc-dev + - rustup-toolchain-install-master -f -n master - rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt - rustup default master - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin diff --git a/setup-toolchain.sh b/setup-toolchain.sh index 5e34fb3756f..49278a9137d 100755 --- a/setup-toolchain.sh +++ b/setup-toolchain.sh @@ -11,5 +11,5 @@ if ! command -v rustup-toolchain-install-master > /dev/null; then --debug fi -rustup-toolchain-install-master -f -n master -c rustc-dev +rustup-toolchain-install-master -f -n master rustup override set master