Skip to content

build: updates zig to 0.16.0 - #1073

Draft
matthew-levan wants to merge 2 commits into
developfrom
ml/zig-v0.16.0
Draft

build: updates zig to 0.16.0#1073
matthew-levan wants to merge 2 commits into
developfrom
ml/zig-v0.16.0

Conversation

@matthew-levan

@matthew-levan matthew-levan commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

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 .dmg file, run sudo xcode-select --switch /Library/Developer/CommandLineTools, and confirm clang --version reports version 17.0.0. If you don't see this version, you may need to update your PATH (via ~/.zshrc or elsewhere) to ensure you're not overriding the LLVM version with a Homebrew version or similar. Finally, you can use zvm use 0.15.2 (or however you manage your Zig installations) to switch back to 0.15.2 (if you'd switched to 0.16.0 previously), and try re-compiling Vere.

@matthew-levan
matthew-levan requested a review from a team as a code owner July 30, 2026 22:08
@matthew-levan matthew-levan added the build Related to the build system label Jul 30, 2026
@matthew-levan
matthew-levan marked this pull request as draft July 31, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Related to the build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant