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

Fix OpenBSD build #291

Merged
merged 3 commits into from Jan 28, 2022
Merged

Conversation

niklasha
Copy link
Contributor

@niklasha niklasha commented Jan 28, 2022

Rust libc does not provide ip_mreqn for openbsd, so add it to the cfg exclusion sets where necessary.

@Thomasdezeeuw
Copy link
Collaborator

@Thomasdezeeuw Thomasdezeeuw commented Jan 28, 2022

According to https://man.openbsd.org/ip.4 ip_mreqn does exists on OpenBSD, so maybe the better route is to add it to libc?

@niklasha
Copy link
Contributor Author

@niklasha niklasha commented Jan 28, 2022

According to https://man.openbsd.org/ip.4 ip_mreqn does exists on OpenBSD, so maybe the better route is to add it to libc?

Yes I am aware of that. However I was in a hurry, and had no time to check if the ip_mreqn use there, is compatible with libc's. I might get back to it later.

@Thomasdezeeuw Thomasdezeeuw merged commit c288e26 into rust-lang:master Jan 28, 2022
19 checks passed
@niklasha niklasha deleted the niklasha-patch-1 branch Feb 4, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants