Skip to content

Commit

Permalink
disable dl_iterate_phdr for uclibc (#396)
Browse files Browse the repository at this point in the history
Co-authored-by: Yannick Koehler <ykoehler@arubanetworks.com>
  • Loading branch information
ykoehler and Yannick Koehler authored Nov 24, 2020
1 parent bcf088e commit 47069af
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/symbolize/gimli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,12 @@ cfg_if::cfg_if! {
bias: slide,
})
}
} else if #[cfg(any(
target_os = "linux",
target_os = "fuchsia",
} else if #[cfg(all(
any(
target_os = "linux",
target_os = "fuchsia",
),
not(target_env = "uclibc"),
))] {
// Other Unix (e.g. Linux) platforms use ELF as an object file format
// and typically implement an API called `dl_iterate_phdr` to load
Expand Down

0 comments on commit 47069af

Please sign in to comment.