Repository navigation
Conversation
x86_64 Windows releases ship both the GNU and MSVC ABIs, while ARM64 ships only MSVC. Build aarch64-pc-windows-gnullvm natively on windows-11-arm with the MSYS2 CLANGARM64 clang as linker and C compiler (for PCRE2). Link with +crt-static so the archive does not depend on MSYS2's libunwind.dll. Add the same target to CI, as win-gnu and winaarch64-msvc are, so a toolchain break shows up before a release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before this PR, x86_64 Windows releases ship both the GNU and MSVC ABIs, while ARM64 ships only MSVC, no GNU.
This PR builds
aarch64-pc-windows-gnullvmnatively onwindows-11-armwith the MSYS2 CLANGARM64 clang as the linker and C compiler (for PCRE2).It links with
+crt-staticso the archive does not depend on MSYS2'slibunwind.dll.It adds the same target to CI, as
win-gnuandwinaarch64-msvcare, so a toolchain break shows up before a release.Tested in my fork:
rg.exe --versionand a PCRE2 search with MSYS2 off the PATH: https://github.com/meop/ripgrep/actions/runs/40630540435I used an AI assistant to help prepare and test this.