3 - TARGET: x86_64-pc-windows-msvc
4 - TARGET: x86_64-pc-windows-gnu
5 - TARGET: i686-pc-windows-msvc
6 - TARGET: i686-pc-windows-gnu
9 - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
10 - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
11 - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
12 - SET PATH=%PATH%;C:\MinGW\bin
17 # TODO: Improve the conditionals
18 # Compile without Clippy, as some of Clippy's dependencies seem to have
19 # problems on these targets.
20 - if "%TARGET%" == "x86_64-pc-windows-msvc" cargo build --verbose
21 - if "%TARGET%" == "i686-pc-windows-msvc" cargo build --verbose
22 - if "%TARGET%" == "x86_64-pc-windows-gnu" cargo build --verbose --features lints
23 - if "%TARGET%" == "i686-pc-windows-gnu" cargo build --verbose --features lints
27 - cargo test --verbose