Skip to content

Conversation

charles-zablit
Copy link
Contributor

  • Explanation:
    Building the toolchain on ARM64 Windows crashes due to a compiler bug in 6.0.x. The crash was fixed in 6.1.0. This patch fixes the build issue by updating the host compiler to 6.1.2.
    Without this patch, it is currently impossible to build the Swift toolchain on ARM64 Windows.
    This is NOT blocking building the official release, as the CI bots run on x64 and cross compile to ARM64. However, anybody trying to build the toolchain on an ARM64 machine will not be able to do so.

  • Scope:
    This change fixes an issue in the Windows build script (build.ps1).

  • Issues:

  • Original PRs:

  • Risk:
    Low, this updates the host compiler's version from 6.0.1 to 6.1.2.

  • Testing:
    Built at desk on an ARM64 machine, and in CI, building and testing on an x64 machine.

  • Reviewers:

@charles-zablit charles-zablit requested a review from a team as a code owner September 8, 2025 11:01
@charles-zablit charles-zablit self-assigned this Sep 8, 2025
@charles-zablit charles-zablit added the Windows Platform: Windows label Sep 8, 2025
@charles-zablit
Copy link
Contributor Author

@swift-ci please test

@adrian-prantl adrian-prantl merged commit 94b6d59 into swiftlang:release/6.2 Sep 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Windows Platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants