-
Notifications
You must be signed in to change notification settings - Fork 666
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
Allow setting kevent_flags on struct sigevent #1731
Conversation
Back when I originally defined |
255a6f6
to
e83418e
Compare
This seems reasonable. A few procedural questions:
|
48cec20
to
262d5d9
Compare
I've rebased. But so far, the libc maintainers still haven't merged the PR there. Trying to be both backwards-compatible AND Rust 1.13.0 compatible AND satisfy that project's style checker is very difficult. If they refuse to merge it, I'm thinking about just copying the FFI definitions into Nix, so we won't be blocked anymore. What do you think of that, @rtzoeller ? |
Ok, I pushed a version that inlines the C structures into Nix. But only for FreeBSD, because that's the only platform that really needs this change. |
Also, disallow using SigevNotify::SigevThreadId on musl. I don't think it ever worked. Depends on rust-lang/libc#2813 Blocks tokio-rs/tokio#4728
Because the PR to libc is stalled for over one year, with no sign of progress.
Still no word from upstream. I'll merge this now. Once the upstream PR merges, we can revert the 2nd commit. |
Re-link the updated libc PR: rust-lang/libc#3630 |
Depends on rust-lang/libc#2813
Blocks tokio-rs/tokio#4728