The forge · Stage of the build
Stage 0
The first compiler that knows how to target musl. Raw stock wrought into a tool that can shape itself, driven from stage0/bootstrap.sh.

The bootstrap compiler
Stage 0 takes the SDK and produces the compiler pair the rest of the bootstrap relies on: a compiler that runs on the build host and emits musl binaries, plus the matching binutils. From here on, nothing the build produces trusts the host libc again.
The stage lives in stage0/bootstrap.sh, with its own input hashes (inputs.sha256) and patches directory. It can be run step by step, including a manifest pass, and completion is gated behind explicit checks rather than exit codes alone.
After this point the flame is contained. The next stage uses this compiler to raise a filesystem where musl, not glibc, holds everything together.
Continue the chain
Next: Stage 1, back to the SDK, or the forge overview.