Skip to main content

Phase 13. APE / Cosmopolitan

FieldValue
MEPMEP-45 §Phases · Phase 13
StatusNOT 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

#ScopeStatusCommitPR
13.0cosmocc 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.2Runtime under Cosmopolitan: BDWGC compatibility, stream/agent surface preservedNOT STARTED
13.3Cross-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.