platform_check.rb in grpc-tools-1.54.3 vs platform_check.rb in grpc-tools-1.55.0
- old
+ new
@@ -30,10 +30,10 @@
def PLATFORM.architecture
host_cpu = RbConfig::CONFIG['host_cpu']
# When we're on arm in macOS, we can rely on Rosetta and use the x86_64 binary
- return 'x86_64' if RbConfig::CONFIG['host_os'] =~ /darwin/ && host_cpu =~ /arm/
+ return 'x86_64' if RbConfig::CONFIG['host_os'] =~ /darwin/ && host_cpu =~ /arm|aarch/
case host_cpu
when /x86_64/
'x86_64'
else