Phobos can build with OS=win32wine to build the Windows version with wine on Linux. However, druntime does not. And since you have to have druntime built to build Phobos, that makes using OS=win32wine with Phobos a bit of a pain. So, I'd very much like it if the posix.mak makefile for druntime was updated to include a build for OS=win32wine so that it can be built in wine.
Can you provide a patch for this? I imagine porting over the stuff from the Phobos posix.mak shouldn't be too hard, but I don't have a Wine environment to test with.
This would be great because it would allow us to unittest for Windows (at least to some extent) on Linux machines. FWIW I'd added such for Phobos a long time ago and it worked but it has since bitrotten (and probably disappeared)
We can now use `build.d` to build under wine as opposed to the Makefile. See discussion here for a use case: https://github.com/dlang/dmd/pull/10731#issuecomment-575538851 Closing as WONTFIX since the functionality is here but not in the way the issue requests it.