Building from source
The build is meson plus ninja, with a test target that enforces the fast-path contract.
Build and gate
ninja test runs the fast-path purity gate: it fails if anything under fastpath/ calls malloc, takes a lock, or makes a syscall. Treat a red gate as a build break, not a warning.
shell
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig meson setup build ninja -C build ninja -C build test
Clock-skew workaround
On a two-tree sync workflow the source can land with future timestamps and ninja then refuses to rebuild. Touch the tree first, excluding the build directory.
shell
find . -path ./build -prune -o -type f -print0 | xargs -0 touch && ninja -C build