Browse Source

appveyor: make the host x86_64 when testing the i686 target

Jorge Aparicio 8 years ago
parent
commit
aa553fe113
1 changed files with 5 additions and 1 deletions
  1. 5 1
      appveyor.yml

+ 5 - 1
appveyor.yml

@@ -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