[fuchsia] Config changes to build on Fuchsia

This patch disables various Unix-specific platform features that are
not enabled on Fuchsia. It also updates the mio version to 0.6.10,
which is the first release that supports Fuchsia.
This commit is contained in:
Raph Levien
2017-07-31 14:12:53 -07:00
parent 77b0ee0a47
commit 05b1ba4342
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -820,7 +820,7 @@ fn usize2ready(bits: usize) -> mio::Ready {
ready | platform::usize2ready(bits)
}
#[cfg(unix)]
#[cfg(all(unix, not(target_os = "fuchsia")))]
mod platform {
use mio::Ready;
use mio::unix::UnixReady;
@@ -871,7 +871,7 @@ mod platform {
}
}
#[cfg(windows)]
#[cfg(any(windows, target_os = "fuchsia"))]
mod platform {
use mio::Ready;