Ignore missing rustfmt

This commit is contained in:
Philipp Hansch 2019-08-03 12:30:51 +02:00
parent d61df4f609
commit ff59f4ad21
No known key found for this signature in database
GPG Key ID: 82AA61CAA11397E6

View File

@ -22,7 +22,7 @@ install:
- del rust-toolchain - del rust-toolchain
- cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed" - cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
- rustup-toolchain-install-master %RUSTC_HASH% -f -n master - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
- rustup component add rustfmt --toolchain nightly || echo "rustfmt nightly is unavailable" - rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
- rustup default master - rustup default master
- set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
- rustc -V - rustc -V