IIUC, getrandom 3.4 will use the ProcessPrng backend for *-pc-windows-msvc (and others). If building with the Rust 1.63 toolchain, then a Windows-8-compatible executable will be created. But, the logic in windows.rs using ProcessPrng assumes that it is running on Windows 10 or later. This seems wrong; the logic should be modified to correctly support Windows 8.
See PR #811 for other reasons that the logic should be changed.