mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
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: https://github.com/rust-lang/rustup/issues/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!
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ install:
|
||||
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable --profile minimal
|
||||
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
|
||||
- rustup default stable
|
||||
- rustup uninstall beta
|
||||
- rustup toolchain uninstall beta
|
||||
- rustup update
|
||||
# Install "master" toolchain
|
||||
- cargo install rustup-toolchain-install-master & exit 0
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ before_script:
|
||||
- curl https://build.travis-ci.org/files/rustup-init.sh -sSf | sh -s -- -y --default-toolchain stable --profile minimal
|
||||
- export PATH=$HOME/.cargo/bin:$PATH
|
||||
- rustup default stable
|
||||
- rustup uninstall beta
|
||||
- rustup toolchain uninstall beta
|
||||
- rustup update
|
||||
# Install "master" toolchain
|
||||
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
|
||||
|
||||
Reference in New Issue
Block a user