Skip to content

Commit 8b8ea53

Browse files
authored
Enable Mach-O on iOS in gimli. (#378)
* Enable Mach-O on iOS in gimli. * Enable Mach-O on tvOS and watchOS in gimli.
1 parent a6dd47b commit 8b8ea53

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/symbolize/gimli.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,12 @@ cfg_if::cfg_if! {
201201
}],
202202
})
203203
}
204-
} else if #[cfg(target_os = "macos")] {
204+
} else if #[cfg(any(
205+
target_os = "macos",
206+
target_os = "ios",
207+
target_os = "tvos",
208+
target_os = "watchos",
209+
))] {
205210
// macOS uses the Mach-O file format and uses DYLD-specific APIs to
206211
// load a list of native libraries that are part of the appplication.
207212

0 commit comments

Comments
 (0)