зеркало из https://github.com/github/ruby.git
Fix test_rubyoptions.rb for arm64 (https://github.com/Shopify/ruby/pull/396)
This commit is contained in:
Родитель
471de2ab78
Коммит
dca5e74aa1
|
@ -64,7 +64,7 @@ module JITSupport
|
|||
|
||||
def yjit_supported?
|
||||
# e.g. x86_64-linux, x64-mswin64_140, x64-mingw32, x64-mingw-ucrt
|
||||
RUBY_PLATFORM.match?(/^(x86_64|x64)-/)
|
||||
RUBY_PLATFORM.match?(/^(x86_64|x64|arm64)-/)
|
||||
end
|
||||
|
||||
# AppVeyor's Visual Studio 2013 / 2015 are known to spuriously generate broken pch / pdb, like:
|
||||
|
|
Загрузка…
Ссылка в новой задаче