I need to build in VS2019/22 as I have to use the generated library (Ruby DLL) in my C++ project for Ruby-C++ interop. I am already using Ruby 2.4.5 in this way. I'm trying to upgrade to newer version of Ruby now.
Using mingw version will not be compatible with VS compiler.