The verify-windows gate runs the unit tests under Wine. The card-building tests shell out to unix tools (sfdisk/mkfs.vfat/mtools/cpio/gzip); their find_tool-based runtime skip sees those binaries in the shared container filesystem and does NOT skip, but a Windows process under Wine cannot exec a Linux ELF, so injects_install_hook_into_initramfs failed. Card building is a unix-host operation, so cfg(unix) the four tool-invoking tests and their helpers. On the Windows target they are not compiled (no Wine exec, no dead-code warnings); the three pure tests (sanitize labels, script targets the boot slots, rejects a bad package -- which errors before any tool) still run everywhere. Native keeps all 7 sd_media tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B1W6qKwKxq3oUPDKWicM6i