Files
metal2vulkan/crates
Anees Iqbal bc05f43aa0 Find the device tests' compile worker above the test binary in any Cargo layout
The nightly's Cargo builds with its newer build-directory layout: a test binary now sits in
target/<profile>/build/<package>/<hash>/out/, not target/<profile>/deps/, while the package's
binaries are still copied up into target/<profile>/. compile_worker() took the test binary's
grandparent, which now names build/metal2vulkan-validation/<hash>/corpus-pipeline, a file that
does not exist, so every device test compiling through the worker would panic. It now takes the
first corpus-pipeline above the test binary, which is target/<profile>/corpus-pipeline in either
layout. reims-vgpu found the layout change in its own C API tests.

Verified on the M3 Max (--cfg m2v_gpu, MoltenVK, under the Mac GPU lock):
candidate::tests::engine_compute::a_store_runs_through_the_binder_under_the_validation_layer
passes; the old formula's path is absent from the built target.
2026-11-04 00:02:56 -08:00
..