Prerequisites
You need Zig 0.16 or later (nightly). Download it from ziglang.org/download.Zig 0.16 is a nightly release. For reproducible builds, use the exact compiler version pinned in the CI configuration.
Build commands
Installing the built binary
After a release build, copy the binary to yourPATH:
Running benchmarks
Benchmarks require the optimized build. Thebench.sh script generates a synthetic log file and times several query patterns:
Cross-compilation
Zig supports cross-compilation out of the box — no cross-compiler toolchain required. The CI pipeline builds release binaries for four targets:- Linux x86_64
- Linux aarch64
- macOS x86_64
- macOS aarch64
-Dtarget= to zig build:
