std library: use execinfo library also on NetBSD.#145793
std library: use execinfo library also on NetBSD.#145793bors merged 1 commit intorust-lang:masterfrom
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use |
| unsafe extern "C" {} | ||
| } | ||
| target_os = "netbsd" => { | ||
| #[link(name = "execinfo")] |
There was a problem hiding this comment.
Is it a base part of the NetBSD distribution?
There was a problem hiding this comment.
Yes, execinfo has been part of NetBSD since version 7.0 as far as I can see, and 7.0 was released many moons (or years) ago. We've branched 11.0, and 9.0 is about to be de-supported when 11.0 is released in terms of support for third-party packages via pkgsrc. Trying to build rust for anything older than 9.0 is most probably not going to work (too old in-tree gcc, for starters) -- today doing so for 9.0 is even sometimes a struggle.
There was a problem hiding this comment.
Confirmed part of NetBSD since 7.0 (2021).
|
@bors r+ |
Rollup of 9 pull requests Successful merges: - #143713 (Add a mailmap entry for gnzlbg) - #144275 (implement Sum and Product for Saturating(u*)) - #144354 (fix(std): Fix undefined reference to __my_thread_exit on QNX 8.0) - #145387 (Remove TmpLayout in layout_of_enum) - #145793 (std library: use execinfo library also on NetBSD.) - #145884 (Test `instrument-mcount` codegen) - #145947 (Add more to the `[workspace.dependencies]` section in the top-level `Cargo.toml`) - #145972 (fix `core::marker::Destruct` doc) - #145977 (tests: Ignore basic-stepping.rs on riscv64) r? `@ghost` `@rustbot` modify labels: rollup
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.
|
Already merged. |
…k-Simulacrum std library: use execinfo library also on NetBSD. The execinfo library is also available on NetBSD.
Rollup of 9 pull requests Successful merges: - rust-lang/rust#143713 (Add a mailmap entry for gnzlbg) - rust-lang/rust#144275 (implement Sum and Product for Saturating(u*)) - rust-lang/rust#144354 (fix(std): Fix undefined reference to __my_thread_exit on QNX 8.0) - rust-lang/rust#145387 (Remove TmpLayout in layout_of_enum) - rust-lang/rust#145793 (std library: use execinfo library also on NetBSD.) - rust-lang/rust#145884 (Test `instrument-mcount` codegen) - rust-lang/rust#145947 (Add more to the `[workspace.dependencies]` section in the top-level `Cargo.toml`) - rust-lang/rust#145972 (fix `core::marker::Destruct` doc) - rust-lang/rust#145977 (tests: Ignore basic-stepping.rs on riscv64) r? `@ghost` `@rustbot` modify labels: rollup
…k-Simulacrum std library: use execinfo library also on NetBSD. The execinfo library is also available on NetBSD.
Rollup of 9 pull requests Successful merges: - rust-lang#143713 (Add a mailmap entry for gnzlbg) - rust-lang#144275 (implement Sum and Product for Saturating(u*)) - rust-lang#144354 (fix(std): Fix undefined reference to __my_thread_exit on QNX 8.0) - rust-lang#145387 (Remove TmpLayout in layout_of_enum) - rust-lang#145793 (std library: use execinfo library also on NetBSD.) - rust-lang#145884 (Test `instrument-mcount` codegen) - rust-lang#145947 (Add more to the `[workspace.dependencies]` section in the top-level `Cargo.toml`) - rust-lang#145972 (fix `core::marker::Destruct` doc) - rust-lang#145977 (tests: Ignore basic-stepping.rs on riscv64) r? `@ghost` `@rustbot` modify labels: rollup
The execinfo library is also available on NetBSD.