Skip to main content

Phase 11. Cross-compile tier-1 matrix

FieldValue
MEPMEP-45 §Phases · Phase 11
StatusNOT STARTED
Started
Landed
Tracking issue
Tracking PR

Gate

Every Phase 1-10 fixture compiles via mochi build --target=<triple> from every supported host and runs byte-equal vs vm3 on the target (native on macOS+Linux, qemu-user-static for cross-arch Linux, wasmtime for wasi).

Goal-alignment audit

To be written before sub-phase 11.0 starts. Tier-1 cross is the user-facing payoff of MEP-45: one source, every native target. Aligns.

Sub-phases (one per target)

#TargetStatusCommitPR
11.0x86_64-linux-gnu (native)NOT STARTED
11.1x86_64-linux-musl (zig cc)NOT STARTED
11.2aarch64-linux-gnu (zig + qemu)NOT STARTED
11.3aarch64-linux-musl (zig + qemu)NOT STARTED
11.4aarch64-darwin (native macOS)NOT STARTED
11.5x86_64-darwin (zig cc cross)NOT STARTED
11.6x86_64-windows-msvc (clang-cl)NOT STARTED
11.7x86_64-windows-gnu (zig+mingw)NOT STARTED

Deliverables

.github/workflows/transpiler3-c-cross.yml extends cross-aot.yml's pattern: Linux CI runs Linux + cross-arch run-gates via qemu-user-static; macOS CI runs macOS run-gates; Windows CI runs Windows run-gates.

Decisions made

Fill in along the way.

Deferred work

Tier-2 (BSDs, riscv64, armv7, aarch64-windows): later, behind a --tier=2 flag.

Closeout notes

Fill in after gate green on all 8 rows.