Skip to content

Commit

Permalink
Use correct arm64 processor arch
Browse files Browse the repository at this point in the history
I think this may have been causing sentry/minidump-stackwalk to fail to
read the CPU context
  • Loading branch information
Jake-Shadle committed Apr 25, 2022
1 parent 1db8d2d commit be5d699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mac/streams/system_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl MinidumpWriter {

let processor_revision = ((model as u16) << 8) | stepping as u16;
} else if #[cfg(target_arch = "aarch64")] {
let processor_architecture = MDCPUArchitecture::PROCESSOR_ARCHITECTURE_ARM64;
let processor_architecture = MDCPUArchitecture::PROCESSOR_ARCHITECTURE_ARM64_OLD;

let family: u32 = mach::sysctl_by_name(b"hw.cpufamily\0");

Expand Down

0 comments on commit be5d699

Please sign in to comment.