Skip to content

Commit

Permalink
Add arm64e support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper-Bekkers authored and kali committed Aug 5, 2020
1 parent cc8f105 commit 13ac861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dinghy-lib/src/ios/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ impl IosDevice {
x => bail!("DeviceName should have been a string, was {:?}", x),
};
let cpu = match device_read_value(ptr, "CPUArchitecture")? {
Some(Value::String(ref v)) if v == "arm64" => "aarch64",
_ => "armv7",
Some(Value::String(ref v)) if v == "arm64" || v == "arm64e" => "aarch64",
v => "armv7",
};
let id = if let Value::String(id) = rustify(unsafe { AMDeviceCopyDeviceIdentifier(ptr) })? {
id
Expand Down

0 comments on commit 13ac861

Please sign in to comment.