From: "k0kubun (Takashi Kokubun)" Date: 2022-06-13T16:41:40+00:00 Subject: [ruby-core:108876] [Ruby master Feature#18824] Drop MinGW support of MJIT Issue #18824 has been updated by k0kubun (Takashi Kokubun). Status changed from Open to Closed Removed in commit:f8502a26990c652a2c3c1131614230fec446ab25 ---------------------------------------- Feature #18824: Drop MinGW support of MJIT https://bugs.ruby-lang.org/issues/18824#change-97957 * Author: k0kubun (Takashi Kokubun) * Status: Closed * Priority: Normal * Target version: 3.2 ---------------------------------------- ## 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. -- https://bugs.ruby-lang.org/ Unsubscribe: