Skip to content

Port Mustache to exact Zig 0.17.0 - #2

Merged
renerocksai merged 1 commit into
mainfrom
feat/zig-0.17
Oct 4, 2026
Merged

renerocksai merged 1 commit into
mainfrom
feat/zig-0.17

Conversation

@renerocksai

@renerocksai renerocksai commented Oct 4, 2026 •

Copy link
Copy Markdown

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 f46006f04a6bb4374a34250fb01fe72daf6a39c1 also 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.

@renerocksai
renerocksai marked this pull request as ready for review October 4, 2026 20:29
@renerocksai
renerocksai merged commit c57fbc8 into main Oct 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant