build system#
notes on zig's build system, drawn from studying ghostty (terminal emulator) and bun (javascript runtime). both are large, production zig projects with sophisticated builds.
notes#
- organization - structuring build.zig for large projects
- dependencies - vendored vs system libs, lazy deps, pinning
- codegen - generating zig source at build time
- cross-compilation - targeting multiple platforms