mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
14 lines
278 B
Ruby
14 lines
278 B
Ruby
# frozen_string_literal: true
|
|
# TODO: Merge this to mjit.rb
|
|
if RubyVM::MJIT.enabled?
|
|
begin
|
|
require 'fiddle'
|
|
require 'fiddle/import'
|
|
rescue LoadError
|
|
return # skip miniruby
|
|
end
|
|
|
|
require "mjit/c_type"
|
|
require "mjit/instruction"
|
|
require "mjit/compiler"
|
|
end
|