[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
+1 -1
View File
@@ -706,7 +706,7 @@ impl Future for TcpStreamNewState {
}
}
#[cfg(unix)]
#[cfg(all(unix, not(target_os = "fuchsia")))]
mod sys {
use std::os::unix::prelude::*;
use super::{TcpStream, TcpListener};
+1 -1
View File
@@ -415,7 +415,7 @@ impl<T> Future for RecvDgram<T>
}
}
#[cfg(unix)]
#[cfg(all(unix, not(target_os = "fuchsia")))]
mod sys {
use std::os::unix::prelude::*;
use super::UdpSocket;