Actions
Feature #18824
closedDrop MinGW support of MJIT
Description
Proposal¶
Stop supporting MJIT on MinGW from Ruby 3.2
Motivation¶
Compilers on MinGW behave weirdly and MinGW-specific C code is sometimes required as a workaround. Despite the high maintenance cost, nobody seems to be using MJIT on MinGW.
Background¶
- I installed Ruby 3.1 with RubyInstaller2, which I believe is the most popular method to install MinGW Ruby, and MJIT didn't work in that environment.
- MinGW is known to be very slow at compiling C code. It's improbable that the architecture of MJIT performs well on that platform.
- In other platforms, compiling an MJIT-generated .c file to a .so file works fine, but it fails on MinGW without any error message. So we have to compile .c to .o first and then build a .so file, just for MinGW.
Updated by k0kubun (Takashi Kokubun) over 2 years ago
- Description updated (diff)
Updated by k0kubun (Takashi Kokubun) over 2 years ago
- Status changed from Open to Closed
Removed in f8502a26990c652a2c3c1131614230fec446ab25
Actions
Like0
Like0Like0