-
Notifications
You must be signed in to change notification settings - Fork 772
v0.7.14 fails to compile with libc v0.2.110 on FreeBSD 12 #1539
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Possibly caused by rust-lang/libc#2581 |
Related code is here mio/src/sys/unix/selector/kqueue.rs Lines 56 to 63 in 77b48e8
.. Default::default() or maybe .. mem::zeroed() ?
|
It seems like it doesn't implement |
It's a libc bug. I'm going to work with libc to get it fixed. |
As a workaround people can add @asomers fix is here rust-lang/libc#2585. |
kevent
definition in libc crate for FreeBSD 12: https://github.com/rust-lang/libc/blob/6b9d5099d103df9b076778d97c3607b2ed2729a9/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs#L20-L28The text was updated successfully, but these errors were encountered: