appveyor: make the host x86_64 when testing the i686 target

master
Jorge Aparicio 2017-04-11 14:28:31 -05:00
parent a373683964
commit aa553fe113
1 changed files with 5 additions and 1 deletions

View File

@ -6,8 +6,12 @@ environment:
install:
- git submodule update --init
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe --default-host %TARGET% --default-toolchain nightly -y
- rustup-init.exe --default-host x86_64-pc-windows-msvc --default-toolchain nightly -y
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- ps: >-
If ($Env:TARGET -eq 'i686-pc-windows-msvc') {
rustup target add $Env:TARGET
}
- rustc -Vv
- cargo -V