Skip to content

Commit e9eb0e1

Browse files
committed
Fix Windows CI
1 parent bef7f8c commit e9eb0e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ stages:
3232
condition: ne( variables['Agent.OS'], 'Windows_NT' )
3333
- script: |
3434
curl -sSf -o rustup-init.exe https://win.rustup.rs
35-
rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN%
35+
rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN% --default-host x86_64-pc-windows-msvc
3636
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
3737
displayName: Windows install rust
3838
condition: eq( variables['Agent.OS'], 'Windows_NT' )
@@ -72,7 +72,7 @@ stages:
7272
- script: |
7373
set CARGO_HOME=%USERPROFILE%\.cargo
7474
curl -sSf -o rustup-init.exe https://win.rustup.rs
75-
rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN%
75+
rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN% --default-host x86_64-pc-windows-msvc
7676
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
7777
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
7878
displayName: Windows install rust

0 commit comments

Comments
 (0)