https://bugs.winehq.org/show_bug.cgi?id=52743
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- It works fine for me with self-compiled wine-7.5 and wine-staging 7.5 from the ArchLinux repos as well.
$ x86_64-w64-mingw32-gcc --version x86_64-w64-mingw32-gcc (GCC) 11.2.0