Repository navigation
Pin Zig 0.17.0 and replace bufPrintZ - #220
Merged
Merged
Conversation
This was referenced Oct 22, 2026
Contributor
Author
|
Companion PRs: GenericJam/mob_dev#146 and GenericJam/mob_new#107 |
0.17.0 is the stable with the macOS 26 SDK fix that 0.17.0-dev.269 was taken for. std.fmt.bufPrintZ is gone; post-mortem marker paths use bufPrintSentinel. Companion to mob_dev and mob_new.
GenericJam
force-pushed
the
zig-0.17.0
branch
from
October 24, 2026 00:53
d1a31b6 to
9475be5
Compare
… tests; upgrade steps
… CI lanes for the pinned Zig, test path without apostrophe
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.
Follows the plan in
build_system_migration.md: the0.17.0-dev.269+ebff43698nightly existed because Zig 0.15.x could not link on the macOS 26 SDK. 0.17.0 is that stable.This is one change across three repos (same branch name
zig-0.17.0):std.fmt.bufPrintZ→bufPrintSentinelinandroid/jni/mob_nif.zigMobDev.Toolchain+ doctor fails stale iOSb.build_rootstd.Io.Dir.openDirAbsolutemix mob.doctorstill requires an exactzig versionmatch (mise install zig@0.17.0).What was verified on host (Zig 0.17.0)
zig ast-checkon Mob Zig sourceszig build-obj -target aarch64-linux-android.24formob_nif.zigafter thebufPrintSentinelchange (and several sibling files that needed no edits)zig build --helpconfigure of current Androidbuild.zigand of the updated iOS sim/device templatesno field named 'build_root'Not verified
native-lib/ iOS binary link (no NDK sysroot / OTP tarball / device SDK in this run)mix mob.deploy --nativeon Android or iOSExisting apps must upgrade mob + mob_dev + app-owned iOS
build.zigtogether. Androidbuild.zigfrom current templates already configures on 0.17.0.No Linear
MOB-N(no API access from this contributor).