Skip to content

Commit

Permalink
Rename RubyVM::MJIT to RubyVM::JIT
Browse files Browse the repository at this point in the history
because the name "MJIT" is an internal code name, it's inconsistent with
--jit while they are related to each other, and I want to discourage future
JIT implementation-specific (e.g. MJIT-specific) APIs by this rename.

[Feature #17490]
  • Loading branch information
k0kubun authored and hsbt committed Apr 28, 2021
1 parent 4cc1ec2 commit 11bcc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/net/smtp/test_smtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def readline
def setup
# Avoid hanging at fake_server_start's IO.select on --jit-wait CI like http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3302796
# Unfortunately there's no way to configure read_timeout for Net::SMTP.start.
if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
if defined?(RubyVM::JIT) && RubyVM::JIT.enabled?
Net::SMTP.prepend Module.new {
def initialize(*)
super
Expand Down

0 comments on commit 11bcc44

Please sign in to comment.