Repository navigation
Port Rayslides to Zig 0.17 with native platform fixes - #5
Merged
Merged
Conversation
renerocksai
marked this pull request as ready for review
October 9, 2026 16:12
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.
Rayslides' 0.16 build and C bindings fail with Zig 0.17. This ports the complete application and optional embedded editor to exact 0.17.0, preserves sentinel/reflection/scalar representation contracts, and adds native Debug/Safe CI on Linux, macOS, and Windows.
Native qualification also repairs existing platform defects:
The immutable dependency graph is the official raylib-zig 0.17 port plus a manifest-only relay to the owning C dependency's four Windows SDK link options. Runtime and binding code are unchanged by that relay. Upstream fixes: raylib #6242, wrapper #363.
Validation:
37c7eabebb32074b89066bc0fb00e6f1a37d68b5: all six native Linux/macOS/Windows Debug/Safe jobs passed in run 37966734435, including the optional editor, live probes/syntax, Safe Linux framebuffer/no-display gates and Mac bundle.docs/ZIG_0_17_MIGRATION.mdrecords exact dependencies, platform scope, first failures, ownership checks, and retained visual-reference limits. No benchmark or production deployment was performed.Independent Claude CLI and Astra xhigh reviews approve the exact final head. Claude first rejected the Retina exclusive path; the native reproduction shows the scissor patch at half scale. Both requested modes now pass a five-stage Safe native geometry/scissor and programmed-position readback diagnostic, with an independent nine-pixel PNG oracle, on the 2× LG HDR 4K display. The position readback checks neutral scale/offset; Cocoa OS pointer coordinates are established by pinned source analysis. Picker checks stay on the current monitor. Original rejected reviews, source-hash proof and owned-process cleanup are retained.