appveyor: use rustc nightly instead of master

This commit is contained in:
Matthias Krüger 2018-10-28 17:14:39 +01:00
parent 261fe249e7
commit 3f01619188

View file

@ -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