mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
appveyor: use rustc nightly instead of master
This commit is contained in:
parent
261fe249e7
commit
3f01619188
1 changed files with 6 additions and 5 deletions
11
appveyor.yml
11
appveyor.yml
|
@ -20,11 +20,12 @@ install:
|
||||||
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
||||||
- git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
|
- git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt
|
||||||
- set /p RUSTC_HASH=<rustc-hash.txt
|
- set /p RUSTC_HASH=<rustc-hash.txt
|
||||||
- del rust-toolchain
|
# uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
|
||||||
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
|
# - del rust-toolchain
|
||||||
- rustup-toolchain-install-master %RUSTC_HASH% -f -n master
|
# - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
|
||||||
- rustup default master
|
# - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
|
||||||
- set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
|
# - rustup default master
|
||||||
|
# - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
|
||||||
- rustc -V
|
- rustc -V
|
||||||
- cargo -V
|
- cargo -V
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue