rmagick / rmagick

Ruby bindings for ImageMagick
https://rmagick.github.io/
MIT License
694 stars 140 forks source link

Drop ruby-mswin environment support on Windows #1587

Closed Watson1978 closed 3 weeks ago

Watson1978 commented 3 weeks ago

As a Ruby runtime environment on Windows, there is MINGW and MSWIN.

I think almost everyone uses RubyInstaller to run Ruby, and it is MINGW environment. MSWIN sets up the compiler itself and compiles Ruby from source code to create the environment. I believe that this is very difficult and only some Ruby committers do that.

I will drop MSWIN support because it become difficult (related to https://github.com/rmagick/rmagick/pull/1585)

mockdeep commented 3 weeks ago

@Watson1978 how is MSWIN different from WINGW?

Watson1978 commented 3 weeks ago

Basically, there use different compilers and other tool chains. MINGW uses the GNU tool chain, and MSWIN uses VisualStudio to build its environment.

RubyInstaller's DevKit will automatically build a MINGW environment

However, MSWIN environment requires manually setting up a compiler and building the environment by manually building the source code for everything. I don't think this procedure is widely known....

Watson1978 commented 3 weeks ago

I think it haven't worked for a long time until RMagick 3.1.0 restored MSWIN support. https://github.com/rmagick/rmagick/pull/425

So I think the impact will be minimal.