File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ stages:
32
32
condition: ne( variables['Agent.OS'], 'Windows_NT' )
33
33
- script : |
34
34
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
36
36
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
37
37
displayName: Windows install rust
38
38
condition: eq( variables['Agent.OS'], 'Windows_NT' )
@@ -72,7 +72,7 @@ stages:
72
72
- script : |
73
73
set CARGO_HOME=%USERPROFILE%\.cargo
74
74
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
76
76
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
77
77
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
78
78
displayName: Windows install rust
You can’t perform that action at this time.
0 commit comments