mjdi docsv0.10.0latest
Compiler compatibility matrix (P0-02)
mjdi's compiler support is evidence-based: every platform claim in this
Source: mjdi/docs/compiler-compatibility.md
mjdi's compiler support is evidence-based: every platform claim in this document is backed by an actual toolchain run recorded here, and platforms without recorded runs are classified as untested or unsupported — never as supported because the code "looks compatible".
Target compiler
- Mojo 1.2.0, build
2016d0cd— the version mjdi is developed against. Recorded on the verified platform withmojo --version:Mojo 1.2.0 (2016d0cd). The same version is pinned inpixi.lockand declared inrelease/manifest.jsonanddocs/index.md.
Platform tiers
| Platform | Tier | Evidence |
|---|---|---|
| linux-x86_64 | verified | The complete authoritative suite (scripts/run_tests.sh, 114/114 checks), both API-surface coverage gates (814/814 library, 166/166 example), all 54 Python tooling tests, the compiler experiments (experiments/exp*.mojo), and the release metadata validation ran on real toolchain in the 0.10.0 release environment. |
| linux-aarch64 | ci-verified | The official Mojo SDK publishes linux-aarch64; the CI matrix job runs the full inventory on ubuntu-24.04-arm. Not executed in the local release environment (no ARM64 host). |
| macos-arm64 | ci-verified | The official SDK publishes osx-arm64; the CI matrix job runs the full inventory on macos-latest. No macOS host exists in the local release environment. |
| linux-aarch64 (emulated) | experimental | Optional qemu-user emulation runs; see below for the recorded result and its limits. |
| osx-x86_64 | unsupported | No Intel-macOS build of the Mojo SDK is published; mojoproject.toml deliberately excludes the platform (a pixi solve would fail). |
| windows-x86_64 | unsupported | No Windows build of the Mojo SDK is published. |
Tier definitions:
- verified — the full suite executed on real toolchain in the release environment; results recorded in this repository.
- ci-verified — the same inventory runs in CI on that platform; a green release requires the verified tier, and the ci-verified jobs must pass when runners are available. No release claim is made beyond "CI exercises it".
- experimental — runs under emulation; useful evidence, but emulation does not validate timing, memory-model, or codegen details that differ on real hardware.
- unsupported — the toolchain cannot be installed; mjdi makes no claim.
Emulation evidence (linux-aarch64)
The release environment can cross-install the aarch64 conda packages
(pixi solves linux-aarch64 from the same lockfile) and execute the
compiler under qemu-user. Recorded result for 0.9.0: the toolchain binary
loads and mojo --version runs under emulation, but the full suite under
qemu is not treated as release evidence — emulation cannot validate
codegen-level behavior, and an emulated run's failures would not be
distinguishable from emulator artifacts. The authoritative aarch64 evidence
remains the CI job on real ARM64 hardware. (If the emulation run is not
available in a given environment, the tier stays ci-verified — the claim is
never upgraded without real execution.)
What CI runs
.github/workflows/ci.yml executes the same authoritative inventory
(from tests/inventory.py, P0-07) on every matrix platform:
- unit tests, compile-fail tests, crash-expected tests, templates, the Python tooling checks, the end-to-end example, and the golden examples;
- both API-surface coverage gates (95% minimum);
- the generated-artifact drift gates (graph fixtures, diagnostic catalog, API reference, test inventory);
- the release-metadata validation;
- the compiler experiments (the recorded compiler-feature evidence).
The linux-x86_64 job is the required release gate. A release is cut
from the verified tier only; ci-verified jobs are blocking when their
runners are available, and report as skipped — never as passing — when a
runner is unavailable (see tests/INVENTORY.md for the executed-vs-
unavailable policy).
Recording future evidence
When mjdi adopts a new compiler version or platform:
- Run the full suite on the new toolchain (real hardware wherever
possible) and record the exact
mojo --versionoutput. - Update
release/manifest.json(target_compiler,compiler_matrix) and this page. - Pin the new toolchain in
pixi.lockand re-run the compiler experiments; add new experiments if a compiler behavior change is observed. - Never widen a tier without a recorded run: the fastest way to break trust in the matrix is to claim support from code inspection.