RubyInstaller-3.1.0-x64 will switch it's C-runtime from MSVCRT to UCRT. See feature request here.
The mingw-w64 cross toolchain of Ubuntu is MSVCRT only and there's no UCRT based toolchain for Ubuntu right now. So we need to build our own.
MSVCRT based ruby and UCRT differ by the ruby and gem platform string. It is x64-mingw-ucrt instead of x64-mingw32. So the plan is to add a new platform image for x64-mingw-ucrt and support only ruby-3.1 with it. To the contrary the old x64-mingw32 image shall support ruby-2.4 to 3.0 only.
RubyInstaller-3.1.0-x64 will switch it's C-runtime from MSVCRT to UCRT. See feature request here.
The mingw-w64 cross toolchain of Ubuntu is MSVCRT only and there's no UCRT based toolchain for Ubuntu right now. So we need to build our own.
MSVCRT based ruby and UCRT differ by the ruby and gem platform string. It is
x64-mingw-ucrt
instead ofx64-mingw32
. So the plan is to add a new platform image forx64-mingw-ucrt
and support only ruby-3.1 with it. To the contrary the oldx64-mingw32
image shall support ruby-2.4 to 3.0 only.