[前][次][番号順一覧][スレッド一覧]

ruby-changes:73311

From: Alan <ko1@a...>
Date: Tue, 30 Aug 2022 01:10:02 +0900 (JST)
Subject: [ruby-changes:73311] ea9ee31744 (master): A64 Linux reports aarach64 in RUBY_PLATFORM

https://git.ruby-lang.org/ruby.git/commit/?id=ea9ee31744

From ea9ee31744a905d7bafdd064ed97f68b5b1f21fa Mon Sep 17 00:00:00 2001
From: Alan Wu <XrXr@u...>
Date: Thu, 18 Aug 2022 13:10:37 -0400
Subject: A64 Linux reports aarach64 in RUBY_PLATFORM

This should fix a version string test
---
 test/lib/jit_support.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 https://github.com/ruby/ruby/blob/trunk/test/lib/jit_support.rb#L64
 
   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:
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]