The owner asked for a nightly toolchain, -Zthreads, kache 2.0 with its incremental cache, and
Rust's incremental compilation on.
- rust-toolchain.toml pins nightly-2026-11-03 (rustc 1.101.0-nightly 1c3a65069), dated so every
machine runs one rustc, clippy and rustfmt. The published crates keep rust-version 1.98, which
this build no longer checks by itself (clippy's incompatible_msrv still flags newer std items).
- .cargo/config.toml passes -Zthreads=0 (a thread per core) through Cargo's profile rustflags,
which add to RUSTFLAGS instead of being replaced by it, so `--cfg m2v_gpu` lanes and CI's
-Dwarnings keep it.
- scripts/rustc-wrapper hands each compile to kache where kache is on PATH outside CI, and to
rustc otherwise; `RUSTC_WRAPPER=` (empty) builds without it.
- CARGO_INCREMENTAL=0 is gone from scripts/device-lane, AGENTS.md and CONTRIBUTING.md.
- CI installs the toolchain the file names; both Dockerfiles take the same nightly.
What the nightly asked of the code:
- Its standard library containers take more trait-solver levels (Box -> BoxRaw, RawVec ->
PhantomData), so proving a RenderCommandEncoder `Send` from a program's crate ran past the
default recursion limit (tests/consumer_auto_traits.rs failed, a future-incompat lint that will
become an error). The encoder now holds its own lowering in `OwnLowering`, whose `Send` impl is
written out over a compile-time proof that `RenderLowering` is `Send`, as `LoweringSlot` already
was. The runtime crate's own proofs need recursion_limit 256.
- New clippy lints: needless_range_loop, single_element_loop, new_instead_of_clear (a false
positive on a moved-from Vec: the part's segments are now taken explicitly),
needless_borrows_for_generic_args, redundant_closure, unnecessary_lazy_evaluations,
manual_range_patterns; AtomicU64::fetch_update is deprecated for try_update (present in 1.98).
- Cargo warns that `homepage` equals `repository`: homepage removed from the manifests.
- nightly rustfmt formats ir_id! invocations one argument per line.
Verified on the M3 Max: `cargo clippy --workspace --all-targets --all-features -- -D warnings`
clean on the nightly; `cargo build -v` shows -Zthreads on every rustc invocation and
scripts/rustc-wrapper in front of each.
The steps this packet landed as, in order:
- Prove the conformance loop with two seed cases, recorded on this M3 Max
- Own the committed-AIR shader path, and three more exhaustive byte cases
- Compare a case's words in named columns, and keep the suite's two venues green
- Bump the runtime version and pin the runtime sources after the binding fix
Content: the tree of `development` at 4b4ecc5628, unchanged.
The steps this packet landed as, in order:
- Read no data back from a making the driver found in its record, which MoltenVK rewrote each time
- Hash with sha2 0.11, which runs SHA-256 on ARMv8's SHA2 instructions
Content: the tree of `development` at 457e874745, unchanged.
Comments, fixture notes and docs lose their design-record numbers, work-package codes and evidence
codes; lines that earlier commits of this series added carry their cleaned text there, so this
commit holds the cleanup of lines that predate the series, the retired vk12-bare profile's corpus
rows (a rationale and two observation rows), and docs/FAST-PATHS.md's measurements stated as they
stand. Thirteen hash-keyed files keep their citations, because their bytes are case or record
identities: eight case-keyed .ll fixtures and five parity sources.
Verified: the CPU suites (4997 of 4997 and 1328 of 1328), clippy, rustdoc and doctests.
Folds in:
- Drop evidence codes, design-record numbers and work-package codes from comments and fixture notes
- Drop the retired vk12-bare profile from the corpus
- Say the fast-path ledger's measurements as they stand, without commits, rounds or host incidents
- Keep the case-keyed .ll fixtures byte for byte
- Keep the parity lanes' fingerprinted sources byte for byte
Rolls up everything since 43c46ac8 into a single commit. Its tree is
identical to the tree of private master at
b3c77f2d2b20a432be10591a2129547c10b1c24b.
- A Cargo workspace of five crates under crates/: metal2vulkan (the
translator and the metal2vulkan command), metal2vulkan-runtime (the
Metal API on Vulkan), metal2vulkan-air (the AIR front end),
metal2vulkan-validation and metal2vulkan-devtools.
- Dual license: GPL-2.0-or-later OR LGPL-3.0-or-later.
- docs/: API, architecture, fast paths, how-to, Metal coverage,
refusals, runtime porting and validation guides.
Private-Commit: b3c77f2d2b20a432be10591a2129547c10b1c24b
There was no slow flag to remove: the release profile was Cargo's default,
and that default turns incremental compilation off. With one crate this
large, that makes every rebuild a full rebuild.
Measured on an idle machine:
one-line source edit, rebuild 24.97s -> 1.67s
cold build 24.02s -> 23.37s
300 corpus modules x4 translated 46.6s -> 46.2s
So the edit-rebuild loop gets ~15x shorter, and neither the cold build nor
translation throughput moves. The throughput figure is repeatable to within
0.5s run to run, so the per-translation budget in AGENTS.md is untouched.
Profiles only apply from the workspace root, so this changes how the repo
builds itself and nothing about how a consumer builds the published crate.
Overhaul the validation workflow around sharded authored cases, dependency-exact observations, incremental indexed corpus audits, bounded parallel translation, and native Metal/Vulkan comparison.\n\nExpand native AIR lowering, reflection, linked-function specialization, resource and stage-interface support, and structural CFG/pointer repair across the harvested macOS 26 corpus. Add exact intrinsic inventory, distributed 16x16x16 matrix lowering, explicit opaque tensor linkage, and regression coverage for the newly supported feature classes.\n\nThe final corpus verification accounts for all 88,819 indexed AIR modules under the current product fingerprint: 65,355 translate and validate directly, 23,464 require exact authored linkage, and zero fail or remain unresolved.