Skip to content

Commit 6f4992c

Browse files
authored
gimli: Enable backtrace for FreeBSD (#402)
1 parent 9f24a93 commit 6f4992c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exclude = ['crates/without_debuginfo', 'crates/macos_frames_test', 'crates/line-
2222
cfg-if = "1.0"
2323
rustc-demangle = "0.1.4"
2424
backtrace-sys = { path = "crates/backtrace-sys", version = "0.1.35", optional = true, default_features = false }
25-
libc = { version = "0.2.45", default-features = false }
25+
libc = { version = "0.2.81", default-features = false }
2626

2727
# Optionally enable the ability to serialize a `Backtrace`, controlled through
2828
# the `serialize-*` features below.

src/symbolize/gimli.rs

+1
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ cfg_if::cfg_if! {
362362
any(
363363
target_os = "linux",
364364
target_os = "fuchsia",
365+
target_os = "freebsd",
365366
),
366367
not(target_env = "uclibc"),
367368
))] {

0 commit comments

Comments
 (0)