Skip to content

chore: clean up leftover Zig 0.15 references after the 0.16 migration - #377

Merged
forketyfork merged 1 commit into
mainfrom
chore/zig-0-16-cleanup
Sep 1, 2026
Merged

chore: clean up leftover Zig 0.15 references after the 0.16 migration#377
forketyfork merged 1 commit into
mainfrom
chore/zig-0-16-cleanup

Conversation

@forketyfork

Copy link
Copy Markdown
Owner

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.rb still declared depends_on "zig@0.15" => :build,
    which would install the wrong compiler for anyone using the Homebrew
    formula going forward.
  • .air/cloud/startup.sh had a comment blaming a proxy workaround on
    "Zig 0.15's HTTP client", which is now a stale/inaccurate version claim.
  • Zig 0.16's local package fetch cache (zig-pkg/) has no .gitignore
    entry, so it shows up as untracked clutter after every build.

Solution

  • Bump the Homebrew formula to depends_on "zig@0.16" => :build. Homebrew's
    zig@0.16 is currently an alias to the mainline zig formula (stable
    0.16.0), mirroring how zig@0.15 was pinned before.
  • Reword the startup script comment to drop the specific version claim,
    since there's no evidence the underlying proxy issue is tied to a
    particular Zig release — the actual unset HTTP_PROXY ... mitigation is
    left untouched.
  • Add zig-pkg/ to .gitignore next 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 (or
    equivalent local formula audit) to confirm it resolves zig@0.16
    correctly.

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.
@forketyfork
forketyfork marked this pull request as ready for review September 1, 2026 13:09
@forketyfork
forketyfork merged commit 62ea831 into main Sep 1, 2026
4 checks passed
@forketyfork
forketyfork deleted the chore/zig-0-16-cleanup branch September 1, 2026 13:18
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