Skip to content

zig: avoid using vendored libc++ on macOS#278854

Open
carlocab wants to merge 1 commit intomainfrom
zig-no-mix-libc++
Open

zig: avoid using vendored libc++ on macOS#278854
carlocab wants to merge 1 commit intomainfrom
zig-no-mix-libc++

Conversation

@carlocab
Copy link
Copy Markdown
Member

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>?
  • Is your test running fine brew test <formula>?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

Currently, zig still builds its own libc++. This causes issues like #278849.

We should report this upstream, but, as a temporary bandaid, since
mixing libc++ versions can cause all sorts of trouble, let's try a small
fix for now.

I used Claude to diagnose the problem and prepare a fix. I reviewed all changes made here.

@chenrui333 chenrui333 added the CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. label Apr 22, 2026
Currently, zig still builds its own libc++. This causes issues like #278849.

We should report this upstream, but, as a temporary bandaid, since
mixing libc++ versions can cause all sorts of trouble, let's try a small
fix for now.
@carlocab carlocab force-pushed the zig-no-mix-libc++ branch from cc8008e to c9775ce Compare April 22, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants