From c6f710209267de99139ffd32596a8d7a98d85180 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 22 Oct 2020 15:22:49 +0200 Subject: [PATCH 1/2] Enable Mach-O on iOS in gimli. --- src/symbolize/gimli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/symbolize/gimli.rs b/src/symbolize/gimli.rs index 273ff43f1..8367f3962 100644 --- a/src/symbolize/gimli.rs +++ b/src/symbolize/gimli.rs @@ -201,7 +201,7 @@ cfg_if::cfg_if! { }], }) } - } else if #[cfg(target_os = "macos")] { + } else if #[cfg(any(target_os = "macos", target_os = "ios"))] { // macOS uses the Mach-O file format and uses DYLD-specific APIs to // load a list of native libraries that are part of the appplication. From 985b19f4ec9bf8ecfd6fc792481108acb10b6f15 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 22 Oct 2020 16:36:44 +0200 Subject: [PATCH 2/2] Enable Mach-O on tvOS and watchOS in gimli. --- src/symbolize/gimli.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/symbolize/gimli.rs b/src/symbolize/gimli.rs index 8367f3962..19ec5da61 100644 --- a/src/symbolize/gimli.rs +++ b/src/symbolize/gimli.rs @@ -201,7 +201,12 @@ cfg_if::cfg_if! { }], }) } - } else if #[cfg(any(target_os = "macos", target_os = "ios"))] { + } else if #[cfg(any( + target_os = "macos", + target_os = "ios", + target_os = "tvos", + target_os = "watchos", + ))] { // macOS uses the Mach-O file format and uses DYLD-specific APIs to // load a list of native libraries that are part of the appplication.