Skip to content

Commit

Permalink
Explicitly set host for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Mar 30, 2020
1 parent 995c1b8 commit 15b1977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ steps:
# Windows.
- script: |
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y --profile minimal --default-toolchain %RUSTUP_TOOLCHAIN%
rustup-init.exe -y --profile minimal --default-toolchain %RUSTUP_TOOLCHAIN% --default-host x86_64-pc-windows-msvc
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
env:
Expand Down

0 comments on commit 15b1977

Please sign in to comment.