When I build my rather trivial Go program with -race
flag on Windows 8.1, it immediately crashes with the following error message:
The procedure entry point WakeByAddressSingle could not be located in the dynamic link library
Without -race
flag it runs just fine.
go version go1.22.0 windows/amd64
Is there anything that could fix this? (other than upgrading Windows, but it’s out of scope for this question)