- TARGET: x86_64-pc-windows-msvc
branches:
- # Only build AppVeyor on r+, try and the master branch
+ # Only build AppVeyor on r+ and try branch
only:
- auto
- try
- - master
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- del rust-toolchain
- cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
- rustup-toolchain-install-master %RUSTC_HASH% -f -n master
+ - rustup component add rustfmt --toolchain nightly || echo "rustfmt nightly is unavailable"
- rustup default master
- set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
- rustc -V