These changes enable producing a static build of glib on Windows with MSVC.
See GNOME/glib!1655 for prior art.
(This MR is intentionally opened against
fasterthanlime/glib rather than
GNOME/glib, because it is not meant to be merged, I just want a convenient view of what my current changeset is.)
Use CreateProcess directly instead of CRT _wspanw* functions where applicable.
Switch to using FLS in the GPrivate implementation on Windows.
Move the code that now resides in DllMain and handles DLL_PROCESS_ATTACH into a PE constructor.
Modify the build definitions to allow static builds on Windows.
This MR needs these to land first:
This adds two CI pipelines. Both
Not all tests are expected to run on MSVC builds anyway (even dynamic ones), here's a list of expected failures (taken from a recent