summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-08-11 09:12:44 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-29 08:47:10 -0700
commitdca5e74aa17bd315ff83cffbdbba3f7c641174ac (patch)
tree9aa98b06f277032736d1993e7873e30efcbf8707 /test/lib
parent471de2ab78ef75c7f22f80c77460e16e2356e190 (diff)
Fix test_rubyoptions.rb for arm64 (https://github.com/Shopify/ruby/pull/396)
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/jit_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index e607df4cab..ccd3b83be7 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -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: