1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

A64 Linux reports aarach64 in RUBY_PLATFORM

This should fix a version string test
This commit is contained in:
Alan Wu 2022-08-18 13:10:37 -04:00 committed by Takashi Kokubun
parent 1c67e90bde
commit ea9ee31744
Notes: git 2022-08-30 01:10:14 +09:00

View file

@ -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|arm64)-/)
RUBY_PLATFORM.match?(/^(x86_64|x64|arm64|aarch64)-/)
end
# AppVeyor's Visual Studio 2013 / 2015 are known to spuriously generate broken pch / pdb, like: