Fix Windows CI by forcing 64-bit rustup installation.

This commit is contained in:
Jeb Rosen 2020-01-21 08:04:06 -08:00 committed by Sergio Benitez
parent 25c2f62850
commit 8408b9ba6f

View File

@ -56,7 +56,7 @@ jobs:
- ${{ if eq(parameters.name, 'Windows') }}: - ${{ if eq(parameters.name, 'Windows') }}:
- script: | - script: |
curl -sSf -o rustup-init.exe https://win.rustup.rs curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y --default-toolchain $(rust_version) rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain $(rust_version)
echo ##vso[task.setvariable variable=PATH]%PATH%;%USERPROFILE%\.cargo\bin echo ##vso[task.setvariable variable=PATH]%PATH%;%USERPROFILE%\.cargo\bin
displayName: 'Install Rust ($(rust_version))' displayName: 'Install Rust ($(rust_version))'