`feature-matrix.sh`'s own `--help` block says the Metal arm cross-checks from any
host, and explains why: `src/lib.rs` rejects `backend-metal` on
`not(target_os = "macos")`, which is a condition on the target rather than the
host, so `--target aarch64-apple-darwin` satisfies it and `cargo check` needs no
Apple SDK. The script has done exactly that since the arm rotted to 11 unnoticed
errors under the old theory.
The README kept the old theory. Measured here on Linux, `cargo check -p
reims-vgpu --target aarch64-apple-darwin` finishes clean in about ten seconds
warm for `backend-metal`, `backend-metal,host-window`, and
`backend-metal,backend-vulkan,host-window` — every Apple configuration the
pathway table ships, including the both-rails row.
That matters more than a documentation slip usually does. A session read this
note, concluded the Metal arm could not be verified from this host, and recorded
it in its handoff as a standing constraint on what could be changed — which
would have held the last cutover group back on a false premise, since it needs
`Backend` trait signatures to change and those are only checked on the arm this
note said was unreachable.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>