Skip to content

Commit 4b0933a

Browse files
authored
Rollup merge of #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 dd03ce8 + db4e716 commit 4b0933a

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-0
lines changed

library/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)