You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[libcxx] [ci] Test mingw environments with msvcrt.dll, too
On Windows, there are many alternative C runtimes that a process
can use; the modern default choice is UCRT, which is what we use
and test so far.
MinGW toolchains can also use msvcrt.dll, which traditionally
was the default within MinGW environments, while UCRT is the
new default.
msvcrt.dll is a much less featureful C runtime than UCRT; a number
of things don't work quite as they should (in particular, locales
are essentially entirely broken within msvcrt.dll).
Each release of llvm-mingw is built targeting both UCRT and
msvcrt.dll; therefore, it is valuable to test libcxx upstream with
this configuration as well. In most cases, both C runtime choices
use the exact same codepaths, but we have one ifdef regarding this,
see the current handling of strftime_l in
src/support/win32/locale_win32.cpp. This adds build test coverage
of this piece of code.
As a number of tests fail in this configuration, only test building
libcxx in this configuration for now. After adding suitable XFAILs,
we can enable running the tests as well.
0 commit comments