mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
Remove fuchsia references as it is not supported. (#355)
This commit is contained in:
@@ -428,7 +428,7 @@ fn usize2ready(bits: usize) -> Ready {
|
|||||||
ready | platform::usize2ready(bits)
|
ready | platform::usize2ready(bits)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(unix, not(target_os = "fuchsia")))]
|
#[cfg(unix)]
|
||||||
mod platform {
|
mod platform {
|
||||||
use mio::Ready;
|
use mio::Ready;
|
||||||
use mio::unix::UnixReady;
|
use mio::unix::UnixReady;
|
||||||
@@ -516,7 +516,7 @@ mod platform {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(windows, target_os = "fuchsia"))]
|
#[cfg(windows)]
|
||||||
mod platform {
|
mod platform {
|
||||||
use mio::Ready;
|
use mio::Ready;
|
||||||
|
|
||||||
|
|||||||
@@ -712,7 +712,7 @@ impl Task {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(unix, not(target_os = "fuchsia")))]
|
#[cfg(unix)]
|
||||||
mod platform {
|
mod platform {
|
||||||
use mio::Ready;
|
use mio::Ready;
|
||||||
use mio::unix::UnixReady;
|
use mio::unix::UnixReady;
|
||||||
@@ -726,7 +726,7 @@ mod platform {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(windows, target_os = "fuchsia"))]
|
#[cfg(windows)]
|
||||||
mod platform {
|
mod platform {
|
||||||
use mio::Ready;
|
use mio::Ready;
|
||||||
|
|
||||||
|
|||||||
@@ -234,7 +234,7 @@ impl fmt::Debug for TcpListener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(unix, not(target_os = "fuchsia")))]
|
#[cfg(unix)]
|
||||||
mod sys {
|
mod sys {
|
||||||
use std::os::unix::prelude::*;
|
use std::os::unix::prelude::*;
|
||||||
use super::TcpListener;
|
use super::TcpListener;
|
||||||
|
|||||||
@@ -717,7 +717,7 @@ impl futures2::Future for ConnectFutureState {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(unix, not(target_os = "fuchsia")))]
|
#[cfg(unix)]
|
||||||
mod sys {
|
mod sys {
|
||||||
use std::os::unix::prelude::*;
|
use std::os::unix::prelude::*;
|
||||||
use super::TcpStream;
|
use super::TcpStream;
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ impl fmt::Debug for UdpSocket {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(unix, not(target_os = "fuchsia")))]
|
#[cfg(all(unix))]
|
||||||
mod sys {
|
mod sys {
|
||||||
use std::os::unix::prelude::*;
|
use std::os::unix::prelude::*;
|
||||||
use super::UdpSocket;
|
use super::UdpSocket;
|
||||||
|
|||||||
Reference in New Issue
Block a user