Skip to content

Instantly share code, notes, and snippets.

@Cogitri
Created October 9, 2018 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cogitri/48ed2b3a37f3184aba866a3d2e1f7f98 to your computer and use it in GitHub Desktop.
Save Cogitri/48ed2b3a37f3184aba866a3d2e1f7f98 to your computer and use it in GitHub Desktop.
stdin
diff --git a/src/libunwind/libunwind.rs b/src/libunwind/libunwind.rs
index 73a259bd4..30eb40979 100644
--- a/src/libunwind/libunwind.rs
+++ b/src/libunwind/libunwind.rs
@@ -93,7 +93,7 @@ extern "C" {
}
cfg_if! {
-if #[cfg(all(any(target_os = "ios", target_os = "netbsd", not(target_arch = "arm"))))] {
+if #[cfg(all(any(target_os = "ios", target_os = "netbsd", target_arch = "x86_64", target_arch = "aarch64")))] {
// Not ARM EHABI
#[repr(C)]
#[derive(Copy, Clone, PartialEq)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment