-
Notifications
You must be signed in to change notification settings - Fork 673
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
Let freebsd and openbsd access 'poll' #710
Conversation
Thanks for fixing this. Could you please add a CHANGELOG entry too? |
Sure thing. |
CHANGELOG.md
Outdated
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. | |||
This project adheres to [Semantic Versioning](http://semver.org/). | |||
|
|||
## [Unreleased] | |||
- Enabled `nix::poll` for 'freebsd' and 'netbsd' targets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have the same format as other CHANGELOG messages. Move it into the Changed
section, and add a link to the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, my mistake. Sorry for the noise
Added #711 as this PR doesn't fix the issue for other BSD's |
Is there some reason not to add NetBSD and Dragonfly support right now? Do they have |
Only reason at the moment is that I can't easily check locally by using I could go through |
You should inspect the code for libc and enable |
Fair enough. I'll expand the PR to the other BSD's supported by rust-lang/libc |
This is already covered in #672 which is close to merging. |
Great. Well I just made a small fuss about nothing then. Sorry for that, didn't catch it in the active issues or PR's |
Gave freebsd and openbsd access to 'poll'. Don't see a reason why other bsd's shouldn't be added as well. Might make more sense to add exclusive
#cfg(not(...)
statements around a few OS's instead of long strings of acceptable targets.