build: updates zig to 0.16.0 - #1073
Draft
matthew-levan wants to merge 2 commits into
Draft
Conversation
matthew-levan
marked this pull request as draft
July 31, 2026 15:33
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.
Bumping to latest Zig also fixes compiling for macOS Tahoe 26.4 or later.
Update: Putting this into DRAFT mode due to optimization regressions thanks to Zig 0.16.0's use of LLVM 21.
Note: For those on macOS Tahoe 26.4 or later, install Xcode 26.3 Command Line Tools (you may need to login with an Apple Developer account) workaround to fix Zig 0.15.2 builds. After downloading, install the
.dmgfile, runsudo xcode-select --switch /Library/Developer/CommandLineTools, and confirmclang --versionreports version17.0.0. If you don't see this version, you may need to update yourPATH(via~/.zshrcor elsewhere) to ensure you're not overriding the LLVM version with a Homebrew version or similar. Finally, you can usezvm use 0.15.2(or however you manage your Zig installations) to switch back to0.15.2(if you'd switched to0.16.0previously), and try re-compiling Vere.