Skip to content

Commit 6f3ab0b

Browse files
Merge pull request #516 from thomcc/thomcc/apple-unwind
Add other apple targets to libunwind workaround
2 parents 7d7ca08 + 6eb620a commit 6f3ab0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backtrace/libunwind.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl Frame {
6666
//
6767
// Note the `skip_inner_frames.rs` test is skipped on macOS due to this
6868
// clause, and if this is fixed that test in theory can be run on macOS!
69-
if cfg!(target_os = "macos") || cfg!(target_os = "ios") {
69+
if cfg!(target_vendor = "apple") {
7070
self.ip()
7171
} else {
7272
unsafe { uw::_Unwind_FindEnclosingFunction(self.ip()) }

0 commit comments

Comments
 (0)