Skip to content

Commit

Permalink
gimli: Enable backtrace for BSDs
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji authored and cemeyer committed Jan 4, 2021
1 parent 47069af commit eca94be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exclude = ['crates/without_debuginfo', 'crates/macos_frames_test', 'crates/line-
cfg-if = "1.0"
rustc-demangle = "0.1.4"
backtrace-sys = { path = "crates/backtrace-sys", version = "0.1.35", optional = true, default_features = false }
libc = { version = "0.2.45", default-features = false }
libc = { version = "0.2.81", default-features = false }

# Optionally enable the ability to serialize a `Backtrace`, controlled through
# the `serialize-*` features below.
Expand Down
4 changes: 4 additions & 0 deletions src/symbolize/gimli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@ cfg_if::cfg_if! {
any(
target_os = "linux",
target_os = "fuchsia",
target_os = "freebsd",
target_os = "netbsd",
target_os = "openbsd",
target_os = "dragonfly",
),
not(target_env = "uclibc"),
))] {
Expand Down

0 comments on commit eca94be

Please sign in to comment.