In Appveyor build, use the rustup for the target host
@@ -10,13 +10,10 @@ environment:
- TARGET: i686-pc-windows-gnu
install:
- - appveyor-retry appveyor DownloadFile "https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe" -FileName rustup-init.exe
- - rustup-init.exe -y --default-host=x86_64-pc-windows-msvc
+ - appveyor-retry appveyor DownloadFile "https://static.rust-lang.org/rustup/dist/${env:TARGET}/rustup-init.exe" -FileName rustup-init.exe
+ - rustup-init.exe -y
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- # Install the target we're compiling for
- - if NOT "%TARGET%" == "x86_64-pc-windows-msvc" rustup target add %TARGET%
-
build: false
build_script:
