Repository navigation
Port Mustache to exact Zig 0.17.0 - #2
Merged
Merged
Conversation
This was referenced Oct 4, 2026
renerocksai
marked this pull request as ready for review
October 4, 2026 20:29
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.
The Mustache package now requires exact Zig 0.17.0. The port updates struct metadata, default values, declaration discovery, function parameters, pointer attributes, error names and optimization tags while preserving bounded cached rendering behavior.
Repeated string fixtures retain their byte-string and sentinel types. The port introduces no new bitcasts or rendering allocations. The allocation-limit fixture retains the compatible deprecated DebugAllocator because SafeAllocator lacks its requested-memory-limit control.
Native macOS arm64 and omarx1 Linux x86_64 Debug/Safe verification passed: 356 tests passed and 29 explicitly skipped per mode, including independent specification and Zap suites. Final commit
f46006f04a6bb4374a34250fb01fe72daf6a39c1also passed hosted Linux, macOS and native Windows. The existing optional comptime-test switch remains disabled, and historical benchmark/FFI sample trees stay outside the exported package and supported gates.CI uses official archive checksums verified against Zig's minisign key, since the official download index currently omits 0.17.0.
The README reflects exact 0.17.0. The wiki migration guide and upgrade #6 preserves the string/sentinel and reflection lessons.