Skip to content

std library: use execinfo library also on NetBSD. #145793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

he32
Copy link
Contributor

@he32 he32 commented Aug 23, 2025

The execinfo library is also available on NetBSD.

@rustbot
Copy link
Collaborator

rustbot commented Aug 23, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 23, 2025
@@ -382,6 +382,7 @@ cfg_select! {
unsafe extern "C" {}
}
target_os = "netbsd" => {
#[link(name = "execinfo")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a base part of the NetBSD distribution?

Copy link
Contributor Author

@he32 he32 Aug 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants