The runtime's first Windows check stopped at its module tree: dma_buf.rs
takes file descriptors (std::os::fd) unconditionally, while dirty_pages,
host_residency and texture/rotation were unix-only modules that every host's
code names.
- dma_buf.rs: every item that holds or makes a file descriptor (the
sources, requests and chunks, the imports of dma-bufs and their pages,
images bound to them, exported pages) is cfg(unix). The DRM-modifier image
items that hold none (ModifierMemory, the explicit-plane and natural-layout
checks, the format queries) stay on every host: their extension decides at
run time.
- dirty_pages and texture/rotation hold no unix code: on every host.
- host_residency: the descriptor limit (RLIMIT_NOFILE), the dma-buf form of
an import made again and its descriptor counts are unix-only; the pointer
form and the sweeps stay on every host.
- devtools' scratch lock: the file identity on Windows is the volume serial
number and file index (GetFileInformationByHandle) in place of dev/ino.
Verified: a step of the Windows check iteration (gnullvm, msi job).
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