Fix Windows CI by forcing 64-bit rustup installation.

This commit is contained in:
Jeb Rosen 2020-01-21 08:04:06 -08:00
parent 7c1b8dc9ad
commit 1ae3e68087
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,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))'