hardware: rename rosetta method.

This commit is contained in:
Mike McQuaid 2020-09-01 14:02:21 +01:00
parent d9135c5a57
commit 74d3f0b153
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ module Hardware
# Apple Silicon Mac. This can be detected via seeing if there's a
# conflict between what `uname` report and the underlying `sysctl` flags,
# since the `sysctl` flags don't change behaviour under Rosetta.
def running_under_rosetta?
def in_rosetta?
intel? && physical_cpu_arm64?
end

View File

@ -155,7 +155,7 @@ module Hardware
"-march=#{arch}"
end
def running_under_rosetta?
def in_rosetta?
false
end
end