End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.enabled?
enabled?
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/yjit.rb, line 13
def self.enabled?
Primitive.cexpr! 'RBOOL(rb_yjit_enabled_p())'
end
Check if YJIT is enabled