objects.zig: replace system libz (C interop) with pure-Zig std.compress.flate for both one-shot and streaming compress/decompress — same RFC 1950 zlib format kepr already reads, so existing objects stay valid; drop linkSystemLibrary(z) from build.zig. This unblocks koh cross-compilation (verified: x86_64/aarch64-linux-musl build clean). Validated safe: koh verify passed on real repos (688 koh + 3691 kepr objects, all old-libz, all decompress+hash-match), fresh 200KB write/read round-trip, +cross-library compat test (foreign zlib blob). Also fix ArrayListUnmanaged(u8){} → .empty in offer_builds session cache (v1.18.12)
$ koh steal kepr.uk/koh@ef1c1516018e
·
parent: 9ce3c92fecf0
discussion
log in to leave a comment.