Build overview
SydraDB uses Zig’s build system (build.zig) to produce:
- the main
sydradbexecutable - test runners
- developer tools (e.g.
bench_alloc)
Key build-time knobs are exported through a generated build_options module and consumed by runtime code (notably the allocator selection in src/sydra/alloc.zig).
Contents
build.zig– build graph definition, build options, and helper toolsflake.nix/flake.lock– pinned Nix flake for reproducible builds and a consistent Zig toolchainshell.nix– non-flake dev shell fallbackvendor/mimalloc/**– mimalloc headers and C sources used when-Dallocator-mode=mimalloc