Repository navigation
Pin Zig 0.17.0 and detect stale iOS build_root - #146
Merged
Merged
Conversation
Contributor
Author
|
Companion PRs: GenericJam/mob#220 and GenericJam/mob_new#107 |
Doctor and native preflight now require zig 0.17.0 exactly, rejecting the previous 0.17.0-dev.269 nightly. Existing ios/build.zig files that still call b.build_root fail doctor; line comments naming the old field do not. Companion to mob and mob_new.
GenericJam
force-pushed
the
zig-0.17.0
branch
from
October 24, 2026 00:53
080c437 to
3c13c39
Compare
…s the pinned Zig and runs :requires_zig; upgrade steps
… CI lanes for the pinned Zig, test path without apostrophe
…ad fails on macOS runners)
Owner
|
Maintainer update. I rebased this onto current master and added commits on top; thanks @youfun. Added on top of the original change
Checked on real devices with Zig 0.17.0, using an app generated from the three branches. Review
|
…name the old zig path)
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.
Companion to GenericJam/mob#220 and the matching mob_new PR.
Zig 0.17.0 is now the exact pin (MobDev.Toolchain + .tool-versions). That matches the plan in mob's build_system_migration.md: the 0.17.0-dev.269+ebff43698 nightly was only for the macOS 26 SDK fix.
Also: mix mob.doctor fails ios/build.zig and ios/build_device.zig that still call b.build_root (Zig 0.17.0 removed the field). Line comments that mention the old name do not fail.
Verified: mix test test/mob_dev/toolchain_test.exs test/mix/tasks/mob_doctor_test.exs (29 passed), including rejection of the old nightly.
Not verified: full mix mob.deploy --native / device builds.
Install: mise install zig@0.17.0. Existing iOS apps must port off b.build_root (or regenerate from mob_new).