Skip to main content
Version: next

Installation

Prerequisites

  • Zig 0.15.1 (this repo’s CI and root README.md assume this version)
  • 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:

  • libxev is pulled as a Zig dependency (pinned in build.zig.zon).
    • zig build should 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