diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-09-10 13:46:15 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-09-10 13:46:15 +0200 |
| commit | 4ab3c117d08ce5dab484cb981db069fa4ec0e605 (patch) | |
| tree | 29903d9880be1bb0a56500e12c33af01e438ce2e /src/ci/scripts | |
| parent | 497ee321af3b8496eaccd7af7b437f18bab81abf (diff) | |
| download | rust-4ab3c117d08ce5dab484cb981db069fa4ec0e605.tar.gz rust-4ab3c117d08ce5dab484cb981db069fa4ec0e605.zip | |
Work around CI issue with windows sdk 10.0.20348.0.
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/install-clang.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ci/scripts/install-clang.sh b/src/ci/scripts/install-clang.sh index 7b540b5c6e9..fd29d3a022a 100755 --- a/src/ci/scripts/install-clang.sh +++ b/src/ci/scripts/install-clang.sh @@ -37,6 +37,12 @@ if isMacOS; then # `clang-ar` by accident. ciCommandSetEnv AR "ar" elif isWindows && [[ ${CUSTOM_MINGW-0} -ne 1 ]]; then + + if [[ ${WINDOWS_SDK_20348_HACK-0} -eq 1 ]]; then + rm -rf '/c/Program Files (x86)/Windows Kits/10/include/10.0.20348.0' + mv '/c/Program Files (x86)/Windows Kits/10/include/'10.0.{19041,20348}.0 + fi + # If we're compiling for MSVC then we, like most other distribution builders, # switch to clang as the compiler. This'll allow us eventually to enable LTO # amongst LLVM and rustc. Note that we only do this on MSVC as I don't think |
