Skip to content

Commit 6eb620a

Browse files
committed
use target_vendor as requested
1 parent 88856c7 commit 6eb620a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/backtrace/libunwind.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +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")
70-
|| cfg!(target_os = "ios")
71-
|| cfg!(target_os = "tvos")
72-
|| cfg!(target_os = "watchos")
73-
{
69+
if cfg!(target_vendor = "apple") {
7470
self.ip()
7571
} else {
7672
unsafe { uw::_Unwind_FindEnclosingFunction(self.ip()) }

0 commit comments

Comments
 (0)