hardware: rename rosetta method.
This commit is contained in:
parent
d9135c5a57
commit
74d3f0b153
@ -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
|
||||
|
||||
|
@ -155,7 +155,7 @@ module Hardware
|
||||
"-march=#{arch}"
|
||||
end
|
||||
|
||||
def running_under_rosetta?
|
||||
def in_rosetta?
|
||||
false
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user