Fix Windows codegen job.
@@ -292,7 +292,7 @@ jobs:
fetchDepth: 5
- script: |
curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe -y --default-toolchain stable
+ rustup-init.exe -y --default-toolchain stable --default-host x86_64-pc-windows-msvc
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
displayName: 'Install Rust'
