diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-08-20 18:35:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 18:35:36 -0700 |
commit | ddf96b7693639e354e95b4d0c6021586968a5a5f (patch) | |
tree | dd3904b8d04a2f954d30d139e7c9f3a993d3338c /test | |
parent | e85db849590201972b93f8188d9c0ad232b5055f (diff) |
Drop mswin support of MJIT (#6265)
The current MJIT relies on SIGCHLD and fork(2) to be performant, and
it's something mswin can't offer. You could run Linux MJIT on WSL
instead.
[Misc #18968]
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index ed2bc3538c..cf6829cf88 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -1128,8 +1128,7 @@ class TestRubyOptions < Test::Unit::TestCase end def test_mjit_debug - # mswin uses prebuilt precompiled header. Thus it does not show a pch compilation log to check "-O0 -O1". - if JITSupport.supported? && !RUBY_PLATFORM.match?(/mswin/) + if JITSupport.supported? env = { 'MJIT_SEARCH_BUILD_DIR' => 'true' } assert_in_out_err([env, "--disable-yjit", "--mjit-debug=-O0 -O1", "--mjit-verbose=2", "" ], "", [], /-O0 -O1/) end |