Skip to content
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

nlmsghdr is missing for musl #1643

Closed
imoyakin opened this issue Jan 16, 2020 · 2 comments
Closed

nlmsghdr is missing for musl #1643

imoyakin opened this issue Jan 16, 2020 · 2 comments

Comments

@imoyakin
Copy link

Target triple: x86_64-unknown-linux-musl
Version: libc = "0.2.66"
Error:error[E0412]: cannot find type nlmsghdr in this scope
i use cargo doc --open --target x86_64-unknown-linux-musl to check doc. libc doc not include struct nlmsghdr, but on
cargo doc --open --target x86_64-unknown-linux-gnu doc, libc now include struct nlmsghdr.
Can libc support to build a static binaries?

@irexiz
Copy link

irexiz commented Feb 18, 2020

The #1649 PR adds that struct and a few more for musl compilation. However since the crate is very low on active maintainers, this might take a while to merge considering the backlog of pull requests.

@rfael
Copy link

rfael commented Feb 28, 2020

This issue can be closed, #1649 PR was merged so that structs are now available in musl targets.

@imoyakin imoyakin closed this as completed Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants