We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0ad1a4 commit eada98fCopy full SHA for eada98f
.github/workflows/CI.yml
@@ -112,7 +112,12 @@ jobs:
112
- name: Install Rust (Windows)
113
if: ${{ contains(matrix.settings.host, 'windows') }}
114
run: |
115
- curl -o rustup-init.exe https://win.rustup.rs/x86_64
+ # Detect Windows architecture
116
+ if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (
117
+ curl -o rustup-init.exe https://win.rustup.rs/x86_64
118
+ ) else (
119
+ curl -o rustup-init.exe https://win.rustup.rs/i686
120
+ )
121
.\rustup-init.exe -y --default-toolchain stable --default-host ${{ matrix.settings.target }}
122
echo "%USERPROFILE%\.cargo\bin" >> $env:GITHUB_PATH
123
"%USERPROFILE%\.cargo\bin\rustup.exe" component add rustfmt clippy
0 commit comments