What: BatchBuild, the record (build.json) a corpus-metal, corpus-vulkan or corpus-moltenvk
batch's out directory keeps of its runs' build, gains `validation`, this crate's source
fingerprint (worker::device::VALIDATION_FINGERPRINT). A batch resumes an out directory only of
its own build, so a build that changed only this crate's sources claims none of an earlier
one's, and is_this_build (batch-report's and batch-install's this_build) answers no for it. A
record from before the field reads it empty, which is no build's.
Why: the record held the executor ABI, the product fingerprint (which leaves this crate out),
SEMANTICS_VERSION and ORACLE_ABI. A fix in the oracle alone, such as the fuel transform's AIR
2.9 atomics (87e88c0706), moved none of them, so a batch resumed in an out directory of the
build before it would have skipped as done every Metal qualification metal-opt refused there.
ORACLE_ABI stays where it was: no committed Metal row is of a case the old oracle could
qualify and the new one answers differently.
Tests: an_out_directory_resumes_only_its_own_build claims a fresh directory and checks the
record holds this build's fingerprint, refuses a directory whose record differs only in it (an
oracle-only change, finished runs and all) and one from before the field, and answers
is_this_build no for both.
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