summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2022-08-18 13:10:37 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-29 09:09:41 -0700
commitea9ee31744a905d7bafdd064ed97f68b5b1f21fa (patch)
treea51fcac77a3bdb95697251b2628f3b301ddeecf1
parent1c67e90bdecf9aec97eb3185b237d879207db465 (diff)
A64 Linux reports aarach64 in RUBY_PLATFORM
This should fix a version string test
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6289
-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 ccd3b83be7..3846749016 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|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: