Skip to content

Commit 5b690f7

Browse files
authored
Rollup merge of rust-lang#145793 - he32:netbsd-libexecinfo-fix, r=Mark-Simulacrum
std library: use execinfo library also on NetBSD. The execinfo library is also available on NetBSD.
2 parents 3c9655b + 9933bee commit 5b690f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

std/src/sys/pal/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ cfg_select! {
382382
unsafe extern "C" {}
383383
}
384384
target_os = "netbsd" => {
385+
#[link(name = "execinfo")]
385386
#[link(name = "pthread")]
386387
#[link(name = "rt")]
387388
unsafe extern "C" {}

0 commit comments

Comments
 (0)