- TARGET: x86_64-pc-windows-msvc
branches:
- # Don't build these branches
- except:
- # Used by bors
- - trying.tmp
- - staging.tmp
+ # Only build AppVeyor on r+ and try branch
+ only:
+ - auto
+ - try
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