mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Bootstrapping ruby runtime might not have RubyVM::MJIT defined.
[Fix GH-1891] From: U-DESKTOP-RLT5UQ8\moriyoshi <mozo@mozo.jp> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a03ea378e7
commit
dfdd556255
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class Object
|
||||||
CROSS_COMPILING = RUBY_PLATFORM
|
CROSS_COMPILING = RUBY_PLATFORM
|
||||||
constants.grep(/^RUBY_/) {|n| remove_const n}
|
constants.grep(/^RUBY_/) {|n| remove_const n}
|
||||||
% arg['versions'].each {|n, v|
|
% arg['versions'].each {|n, v|
|
||||||
<%=n%> = <%if n=='RUBY_DESCRIPTION' %>RubyVM::MJIT.enabled? ?
|
<%=n%> = <%if n=='RUBY_DESCRIPTION' %>RubyVM.const_defined?(:MJIT) && RubyVM::MJIT.enabled? ?
|
||||||
<%=arg['RUBY_DESCRIPTION_WITH_JIT'].inspect%> :
|
<%=arg['RUBY_DESCRIPTION_WITH_JIT'].inspect%> :
|
||||||
<%end%><%=v.inspect%>
|
<%end%><%=v.inspect%>
|
||||||
% }
|
% }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue