Installation
Prerequisites
- Zig
0.15.1(this repo’s CI and rootREADME.mdassume this version)- The floor is enforced in
build.zig.zon.
- The floor is enforced in
- A C toolchain (clang or gcc)
Optional:
- Nix + direnv (see repo root
README.md)
Build the runtime
From the repo root:
zig build
Run tests
zig build test
If you hit dependency issues
libjzx is built atop libxev.
For normal development via Zig:
libxevis pulled as a Zig dependency (pinned inbuild.zig.zon).zig buildshould fetch it automatically on first build (requires network access the first time).
If you are compiling manually with cc/pkg-config (outside Zig), you may need a system-provided libxev.
See Troubleshooting.
See also
- Build system deep dive:
- Quickstart