Top stories
Zig moves package management out of the compiler into the build system
- Category: Languages
- Status: confirmed
- Sources: Zig devlog 2026-06-30, HN discussion
- Summary: A Zig devlog entry dated 2026-06-30 moves
zig build,zig fetch,zig init, andzig libcfrom the compiler into a separate build-system "maker" process, and removes package fetching, the HTTP client, TLS and crypto, the Git protocol, and several compression formats from the compiler binary. The compiler shrinks from 14.1 to 13.5 MiB,--maker-optbecomes theZIG_DEBUG_MAKERenvironment variable, and--zig-lib-dirbecomesZIG_LIB_DIR. The entry calls the change almost entirely non-breaking. Blockers before Zig 0.17.0 include the build-server protocol and watch-mode work. - Comments: HN commenters praise the separation of concerns and note a stated longer-term goal of running the build system inside a WebAssembly VM.
- Why it matters: It narrows the compiler's dependency and trust surface and lets package and patch changes ship without rebuilding the compiler.
- Follow-up: Watch for Zig 0.17.0 and the build-server protocol landing.