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).