Skip to content

Commit 4ebc030

Browse files
committed
Auto merge of #1111 - MarkusPettersson98:rustup-1.21-yaml, r=RalfJung
Updated CI config to reflect deprecation of rustup uninstall In the same spirit as #1110 😄 This PR from the rustup repository brought me here: rust-lang/rustup#2148 TL;DR With rustup 1.21.0 `rustup install` and `rustup uninstall` are being deprecated in favor of `rustup toolchain install` and `rustup toolchain uninstall`. There's plenty of code/documentation out there that needs to be updated to reflect this. Thought It would be cool to help, however small the change may be. :) Keep up the great work!
2 parents ea59d6a + c9e7fe8 commit 4ebc030

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ install:
2727
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable --profile minimal
2828
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
2929
- rustup default stable
30-
- rustup uninstall beta
30+
- rustup toolchain uninstall beta
3131
- rustup update
3232
# Install "master" toolchain
3333
- cargo install rustup-toolchain-install-master & exit 0

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ before_script:
3434
- curl https://build.travis-ci.org/files/rustup-init.sh -sSf | sh -s -- -y --default-toolchain stable --profile minimal
3535
- export PATH=$HOME/.cargo/bin:$PATH
3636
- rustup default stable
37-
- rustup uninstall beta
37+
- rustup toolchain uninstall beta
3838
- rustup update
3939
# Install "master" toolchain
4040
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"

0 commit comments

Comments
 (0)