From 080f52a98f13414df891aae563f4206c2850b04d Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Thu, 20 Aug 2026 10:12:48 -0500 Subject: [PATCH] build: bump zat to v0.4.4, build for ARMv6 in CI zat v0.4.4 drops its 64-bit atomics and 64-bit-only size asserts, so the arm-linux-musleabihf/arm1176jzf_s build is clean end to end. add it to ci.yml so 32-bit support cannot regress silently. Co-Authored-By: Claude Fable 5 --- .tangled/workflows/ci.yml | 1 + CHANGELOG.md | 7 ++++--- build.zig.zon | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.tangled/workflows/ci.yml b/.tangled/workflows/ci.yml index e69d680..f20cf28 100644 --- a/.tangled/workflows/ci.yml +++ b/.tangled/workflows/ci.yml @@ -27,3 +27,4 @@ steps: fi zig build test tools/smoke.sh + zig build -Dtarget=arm-linux-musleabihf -Dcpu=arm1176jzf_s -Doptimize=ReleaseSafe --summary all diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a2849a..6cacc10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,9 +13,10 @@ Reconstructed from git history for everything up to `v0.1.1`; kept by hand from under a mutex and now are read under it too (`applyWrites` allocates its seq inside the `db_mutex` section rather than just before it), the lock-contention timer and the crawler notify throttle keep wrapping `u32` timestamps, and `sync` uses `store.nowMs()` instead of - its own `clock_gettime`. Cross-compiling `-Dtarget=arm-linux-musleabihf -Dcpu=arm1176jzf_s` - now fails only inside `zat` (two pointer-size asserts and a `u64` byte counter), which has - its own fix incoming. + its own `clock_gettime`. With zat bumped to `v0.4.4` (the same + treatment for its three `u64` counters and two pointer-size asserts), cross-compiling + `-Dtarget=arm-linux-musleabihf -Dcpu=arm1176jzf_s` is clean, and CI now builds that target + on every push. - **fix**: bump httpz to `ede9a78`, which serializes `detachHttp` with the state/list transition it races. `swapList` guarded (remove -> publish `_state` -> insert) with the diff --git a/build.zig.zon b/build.zig.zon index 6a95f17..0583c69 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -5,8 +5,8 @@ .minimum_zig_version = "0.16.0", .dependencies = .{ .zat = .{ - .url = "https://tangled.org/zat.dev/zat/archive/v0.4.3.tar.gz", - .hash = "zat-0.4.3-5PuC7jGfDAAWck7re9WVY2M0YCionu5ymA0ewyto_Ooy", + .url = "https://tangled.org/zat.dev/zat/archive/v0.4.4.tar.gz", + .hash = "zat-0.4.4-5PuC7u-qDAB8PpFGomEQCOtRxg00sXotZwh3hHcz-02K", }, .zqlite = .{ .url = "git+https://github.com/karlseguin/zqlite.zig?ref=master#05a88d6758753e1c63fdd45b211dde2057094b0c", -- 2.51.2