Phase 13. APE / Cosmopolitan
| Field | Value |
|---|---|
| MEP | MEP-45 §Phases · Phase 13 |
| Status | NOT STARTED |
| Started | — |
| Landed | — |
| Tracking issue | — |
| Tracking PR | — |
Gate
mochi build --apex produces one APE binary; the same binary runs and produces byte-equal output on Linux, macOS, Windows, FreeBSD, NetBSD, OpenBSD CI runners.
Goal-alignment audit
To be written before sub-phase 13.0 starts. APE is the most striking distribution story Mochi can tell: one file, every desktop OS. Aligns.
Sub-phases
| # | Scope | Status | Commit | PR |
|---|---|---|---|---|
| 13.0 | cosmocc vendored under transpiler3/c/toolchain/cosmocc/ | NOT STARTED | — | — |
| 13.1 | --apex build path: cosmocc replaces zig cc; output is .com.dbg + .com (stripped APE) | NOT STARTED | — | — |
| 13.2 | Runtime under Cosmopolitan: BDWGC compatibility, stream/agent surface preserved | NOT STARTED | — | — |
| 13.3 | Cross-OS CI runners: Linux + macOS + Windows + FreeBSD (cirrus-ci) | NOT STARTED | — | — |
Decisions made
Fill in along the way.
Deferred work
aarch64-APE (Cosmopolitan aarch64 still landing upstream): later.
Closeout notes
Fill in after gate green.