Bump zig to 0.15.2 to fix the macOS iconv link error (#26)
The apple-darwin cross-build failed at link with "unable to find
dynamic system library 'iconv'" / 'charset'. Root cause is zig 0.14.0's
macho linker: under rust >= 1.82 the apple std links -liconv/-lcharset
(rust-lang/rust#128370), and zig 0.14.0 can't resolve them from the SDK
(cargo-zigbuild#316) — the SDKROOT search path gets doubled
(/opt/MacOSX.sdk/opt/MacOSX.sdk/usr/lib). Bumping cargo-zigbuild alone
(0.22.3 -> 0.23.0) did NOT help; the variable is the zig version.
zig 0.15.2 resolves it. Also fixes the zig archive URL (naming flipped
to zig-<arch>-<os>-<ver> as of 0.14.1).
Verified end-to-end in Docker (rust:1.95-trixie, same as CI runner):
all four targets — linux arm64/amd64 + macos arm64/amd64 — link
successfully, and the glibc floor gate still passes (both linux
binaries max GLIBC_2.30 <= 2.31).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
SHA:
005fac2de43e23ecb96bb7e022a8852507072b31
Author:
CI <ci@anvil.test>
Date:
2026-07-13 03:22
Parents:
0ed4a82
1 files changed
+8
-3
| Type | ||
|---|---|---|
|
|
ci/build-runner.sh | +8 −3 |
|
||