Merge pull request #5788 from sjackman/aarch64
Fix Hardware::CPU.arm? for aarch64
This commit is contained in:
commit
9c01afd15a
@ -61,7 +61,7 @@ module Hardware
|
||||
def type
|
||||
case RUBY_PLATFORM
|
||||
when /x86_64/, /i\d86/ then :intel
|
||||
when /arm/ then :arm
|
||||
when /arm/, /aarch64/ then :arm
|
||||
when /ppc\d+/ then :ppc
|
||||
else :dunno
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user