chore: clean up leftover Zig 0.15 references after the 0.16 migration - #377
Merged
Conversation
Issue: after merging the Zig 0.16.0 migration (#376), the Homebrew formula still pinned zig@0.15 as a build dependency, a startup script comment still blamed a proxy quirk on "Zig 0.15's HTTP client", and the Zig 0.16 package fetch cache (zig-pkg/) had no .gitignore entry and was showing up untracked. Solution: bump the formula's zig dependency to zig@0.16 (Homebrew's alias for the current 0.16.0 mainline formula, mirroring how @0.15 was pinned before), de-version the startup script comment since there's no evidence the proxy issue is version-specific, and ignore zig-pkg/ alongside the other Zig cache directories already listed.
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
The Zig 0.16.0 migration (#376) landed and was merged, but a few things
outside the source tree still referenced the old 0.15 toolchain or lacked
housekeeping for a new build artifact:
Formula/architect.rbstill declareddepends_on "zig@0.15" => :build,which would install the wrong compiler for anyone using the Homebrew
formula going forward.
.air/cloud/startup.shhad a comment blaming a proxy workaround on"Zig 0.15's HTTP client", which is now a stale/inaccurate version claim.
zig-pkg/) has no.gitignoreentry, so it shows up as untracked clutter after every build.
Solution
depends_on "zig@0.16" => :build. Homebrew'szig@0.16is currently an alias to the mainlinezigformula (stable0.16.0), mirroring how
zig@0.15was pinned before.since there's no evidence the underlying proxy issue is tied to a
particular Zig release — the actual
unset HTTP_PROXY ...mitigation isleft untouched.
zig-pkg/to.gitignorenext to the other Zig cache directories(
.zig-cache/,zig-cache/,.cache/). Confirmed it's a deterministic,regenerable build cache (deleting it and rebuilding recreates it) rather
than anything that should be committed.
Context
Follow-up to #376 (Zig 0.16.0 migration), found while doing post-merge
wrap-up verification on a real macOS host.
Test plan
brew install --build-from-source ./Formula/architect.rb(orequivalent local formula audit) to confirm it resolves
zig@0.16correctly.