zi2zx bundle and ziran run always write and run revision-28 executable
ZX. The semantic bundle reader and writer, the portable VM, the
TinyCC-compiled and linked native bundles with the vendored TinyCC,
bundle libraries, the VM profile, --vm, BundleInstantiatePortable,
libziran-vm.a and the ZIR-based Wasm lowering with zi2wasm are removed;
the Wasm tier, the embedding API and every tool run revision 28. Tests
of the removed VM internals and libraries are removed, and the rest run
on revision 28. Engine problems read as the diagnostics users rely on.
Generated C now starts every body, out of line, a #target clone or a
header's inline copy, with (void)name; for each parameter it never reads,
so a C file including another module's header passes -Wall -Wextra
-Werror. USAGE.md documents the ZIRAN_<MODULE>_H_SOURCE opt-out for C
mocks, and tests/c_warnings.sh covers both. The commit also takes the
working tree's other in-progress changes (C cache, SIMD ops, check runner
and tests), which passed make check alongside it.
zi2zx now holds both engines, and --vm picks the portable VM where
compiled code is available, so the separate zi2zx-vm binary is gone.
Tests, benchmarks and docs use zi2zx run --vm; libziran-vm.a stays for
C hosts that link the VM.
Both checks build the source and saved bundles, require them to be the same bytes, and ran each through the native engine and the portable VM. The VM run of the float text cases takes about eight minutes under the sanitizers, so the duplicate pushed a sanitize shard past its limit. Each engine now runs the one bundle after the comparison. Declared check costs follow the latest sanitized times, and the sanitize jobs get a 35-minute limit for runner speed variance.
A check declares its rough sanitized cost with a "# check-cost: SECONDS" header. The runner spreads declared checks over the shards longest first and starts them before the others, so the float text and Unicode normalization checks no longer share a shard and push it past the job's time limit. Check jobs install python3-markdown for site_pages.sh.
ziran edit previews and applies checked source edits, and ziran compact and
expand give .zi files a lossless compact transport. Diagnostics bound each
message and report truncation. The standard library adds Unicode 17 NFC,
lowercase and properties, owned JSON documents with Into accessors and
erasers, file identity snapshots, 32-argument process channels with optional
stderr discard, socket write shutdown, longer Curl header values and fallible
image resampling. Checks cover the new APIs, and stale tests now match the
bounded diagnostics, the 4 ms kernel timestamp tick and the check runner.