Skip to content

Commit d3dfe7a

Browse files
committed
Use dl_iterate_phdr on Haiku
An implementation or dl_iterate_phdr was added to Haiku a little over a year after Haiku support got added to backtrace-rs.
1 parent e33eaac commit d3dfe7a

File tree

2 files changed

+1
-53
lines changed

2 files changed

+1
-53
lines changed

src/symbolize/gimli.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ cfg_if::cfg_if! {
223223
target_os = "linux",
224224
target_os = "fuchsia",
225225
target_os = "freebsd",
226+
target_os = "haiku",
226227
target_os = "hurd",
227228
target_os = "openbsd",
228229
target_os = "netbsd",
@@ -238,9 +239,6 @@ cfg_if::cfg_if! {
238239
} else if #[cfg(target_env = "libnx")] {
239240
mod libs_libnx;
240241
use libs_libnx::native_libraries;
241-
} else if #[cfg(target_os = "haiku")] {
242-
mod libs_haiku;
243-
use libs_haiku::native_libraries;
244242
} else if #[cfg(target_os = "aix")] {
245243
mod libs_aix;
246244
use libs_aix::native_libraries;

src/symbolize/gimli/libs_haiku.rs

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)