Skip to content

Commit

Permalink
Use dl_iterate_phdr on Haiku
Browse files Browse the repository at this point in the history
An implementation or dl_iterate_phdr was added to Haiku a little over a
year after Haiku support got added to backtrace-rs.
  • Loading branch information
bjorn3 committed Feb 8, 2025
1 parent e33eaac commit d3dfe7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 53 deletions.
4 changes: 1 addition & 3 deletions src/symbolize/gimli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ cfg_if::cfg_if! {
target_os = "linux",
target_os = "fuchsia",
target_os = "freebsd",
target_os = "haiku",
target_os = "hurd",
target_os = "openbsd",
target_os = "netbsd",
Expand All @@ -238,9 +239,6 @@ cfg_if::cfg_if! {
} else if #[cfg(target_env = "libnx")] {
mod libs_libnx;
use libs_libnx::native_libraries;
} else if #[cfg(target_os = "haiku")] {
mod libs_haiku;
use libs_haiku::native_libraries;
} else if #[cfg(target_os = "aix")] {
mod libs_aix;
use libs_aix::native_libraries;
Expand Down
50 changes: 0 additions & 50 deletions src/symbolize/gimli/libs_haiku.rs

This file was deleted.

0 comments on commit d3dfe7a

Please sign in to comment.