File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,18 @@ jobs:
174174 - name : ensure the stable version number is correct
175175 run : src/ci/scripts/verify-stable-version-number.sh
176176
177+ # Temporary fix to unblock CI
178+ # We revert to an older Windows SDK for 32-bit Windows MSVC builds.
179+ # See issue https://github.com/rust-lang/rust/issues/137733 for more details.
180+ - name : Downgrade Windows SDK
181+ shell : pwsh
182+ if : ${{ matrix.name == 'i686-msvc-1' || matrix.name == 'i686-msvc-2' || matrix.name == 'dist-i686-msvc' }}
183+ run : |
184+ $vs = &"${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -format value -property installationPath
185+ cmd /k "`"$vs\VC\Auxiliary\Build\vcvarsall.bat`" amd64_x86 10.0.22621.0 & SET > %GITHUB_ENV%"
186+ pwsh -c "$env:PATH >> $env:GITHUB_PATH"
187+ exit
188+
177189 # Show the environment just before we run the build
178190 # This makes it easier to diagnose problems with the above install scripts.
179191 - name : show the current environment
You can’t perform that action at this time.
0 commit comments