Remove fuchsia references as it is not supported. (#355)

This commit is contained in:
Carl Lerche 2018-05-14 12:00:19 -07:00 committed by GitHub
parent 6598334021
commit e281e4f4cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -428,7 +428,7 @@ fn usize2ready(bits: usize) -> Ready {
ready | platform::usize2ready(bits)
}
#[cfg(all(unix, not(target_os = "fuchsia")))]
#[cfg(unix)]
mod platform {
use mio::Ready;
use mio::unix::UnixReady;
@ -516,7 +516,7 @@ mod platform {
}
}
#[cfg(any(windows, target_os = "fuchsia"))]
#[cfg(windows)]
mod platform {
use mio::Ready;

View File

@ -712,7 +712,7 @@ impl Task {
}
}
#[cfg(all(unix, not(target_os = "fuchsia")))]
#[cfg(unix)]
mod platform {
use mio::Ready;
use mio::unix::UnixReady;
@ -726,7 +726,7 @@ mod platform {
}
}
#[cfg(any(windows, target_os = "fuchsia"))]
#[cfg(windows)]
mod platform {
use mio::Ready;

View File

@ -234,7 +234,7 @@ impl fmt::Debug for TcpListener {
}
}
#[cfg(all(unix, not(target_os = "fuchsia")))]
#[cfg(unix)]
mod sys {
use std::os::unix::prelude::*;
use super::TcpListener;

View File

@ -717,7 +717,7 @@ impl futures2::Future for ConnectFutureState {
}
}
#[cfg(all(unix, not(target_os = "fuchsia")))]
#[cfg(unix)]
mod sys {
use std::os::unix::prelude::*;
use super::TcpStream;

View File

@ -398,7 +398,7 @@ impl fmt::Debug for UdpSocket {
}
}
#[cfg(all(unix, not(target_os = "fuchsia")))]
#[cfg(all(unix))]
mod sys {
use std::os::unix::prelude::*;
use super::UdpSocket;