build: migrate Architect to Zig 0.16.0 - #376
Draft
forketyfork wants to merge 7 commits into
Draft
Conversation
ghostty moves to a main-branch commit because 1.3.2-dev is the first line requiring 0.16.0 and no v1.3.2 tag exists yet; libxev follows ghostty's pin; zig-toml moves to its zig-0.16 branch. zwanzig v0.15.1 already supports 0.16.0 through its compat layer and needs no version change. src/ does not compile yet; the following commits on this branch complete the migration.
env, clock, and proc now take the io context that Zig 0.16 requires.
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.
Issue
Architect must move from Zig 0.15.2 to Zig 0.16.0, including the dependency pins and build-script APIs that gate the migration.
Solution
This PR spans Tasks 6-15 of the Zig 0.16.0 migration plan. Task 6 flips the flake toolchain pin and minimum Zig version, updates the four verified dependency hashes, renames the build graph environment map, and migrates build.zig SDK probing to std.Io and std.process.run.
Context
CI is EXPECTED TO FAIL from this commit through Task 12, by design, because the codebase cannot build on both toolchains simultaneously mid-flip. The true green gate is Task 13. The remaining commits on this branch will complete Tasks 7-15 before this PR is merged.
Test plan