Open-Source Wikis

/

Zig

/

Features

ziglang/zig

Features

Cross-cutting capabilities that span multiple subsystems. Each page here describes a feature whose implementation is not localized to a single directory.

Page What it covers
Compile-time evaluation comptime — where it runs, how ZIR/AIR/InternPool support it.
Cross compilation How zig produces binaries for any supported target without an external toolchain.
Incremental compilation Per-decl caching, --watch, the IncrementalDebugServer, tools/incr-check.zig.
zig cc and the C/C++ toolchain How zig cc, zig c++, zig ar, zig rc, etc. work.
Self-hosted vs LLVM backend Backend selection, current capability matrix.
Sanitizers and safety UBSan-style runtime checks, ThreadSanitizer (libtsan), stack traces, -fcompiler-rt.
Fuzzing The in-tree fuzzer (lib/fuzzer.zig) and std.Build.Fuzz.
Documentation generation langref.html, zig std, tools/docgen.zig/tools/doctest.zig, autodoc.

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Features – Zig wiki | Factory