mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 05:03:21 +00:00
use git version
This commit is contained in:
parent
dce46325b5
commit
83f04442ec
2 changed files with 5 additions and 2 deletions
|
@ -18,7 +18,7 @@ install:
|
|||
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
|
||||
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
||||
- del rust-toolchain
|
||||
- cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
|
||||
- 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 component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
|
||||
- rustup default master
|
||||
|
|
|
@ -4,7 +4,10 @@
|
|||
cd "$(dirname "$0")" || exit
|
||||
|
||||
if ! command -v rustup-toolchain-install-master > /dev/null; then
|
||||
cargo install rustup-toolchain-install-master --debug
|
||||
cargo install \
|
||||
--git https://github.com/kennytm/rustup-toolchain-install-master \
|
||||
--bin rustup-toolchain-install-master \
|
||||
--debug
|
||||
fi
|
||||
|
||||
rustup-toolchain-install-master -f -n master -c rustc-dev
|
||||
|
|
Loading…
Reference in a new issue