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

Add unsupported section to readme #1475

Merged
merged 1 commit into from
Mar 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Currently supported platforms:
* NetBSD
* OpenBSD
* Solaris
* Windows (running under Wine is not supported, see [issue #1444])
* Windows
* iOS
* macOS

Expand All @@ -153,6 +153,13 @@ This uses the Windows AFD system to access socket readiness events.
[wepoll]: https://github.com/piscisaureus/wepoll
[issue #1444]: https://github.com/tokio-rs/mio/issues/1444

### Unsupported

* Haiku, see [issue #1472]
* Wine, see [issue #1444]

[issue #1472]: https://github.com/tokio-rs/mio/issues/1472

## Community

A group of Mio users hang out on [Discord], this can be a good place to go for
Expand Down
3 changes: 1 addition & 2 deletions src/sys/unix/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::time::Duration;
use crate::net::TcpKeepalive;
use crate::sys::unix::net::{new_socket, socket_addr, to_socket_addr};

#[cfg(any(target_os = "openbsd", target_os = "netbsd", target_os = "haiku"))]
#[cfg(any(target_os = "openbsd", target_os = "netbsd"))]
use libc::SO_KEEPALIVE as KEEPALIVE_TIME;
#[cfg(any(target_os = "macos", target_os = "ios"))]
use libc::TCP_KEEPALIVE as KEEPALIVE_TIME;
Expand All @@ -18,7 +18,6 @@ use libc::TCP_KEEPALIVE as KEEPALIVE_TIME;
target_os = "ios",
target_os = "openbsd",
target_os = "netbsd",
target_os = "haiku"
)))]
use libc::TCP_KEEPIDLE as KEEPALIVE_TIME;
pub type TcpSocket = libc::c_int;
Expand Down