Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
tokio
Commits
d36ae24d
Unverified
Commit
d36ae24d
authored
May 11, 2018
by
Carl Lerche
Browse files
Remove fuchsia references as it is not supported.
parent
88801bb6
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/reactor/poll_evented.rs
View file @
d36ae24d
...
...
@@ -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
;
...
...
tokio-reactor/src/lib.rs
View file @
d36ae24d
...
...
@@ -708,7 +708,7 @@ impl Task {
}
}
#[cfg(
all(unix,
not(target_os
=
"fuchsia"
))
)]
#[cfg(
unix
)]
mod
platform
{
use
mio
::
Ready
;
use
mio
::
unix
::
UnixReady
;
...
...
@@ -722,7 +722,7 @@ mod platform {
}
}
#[cfg(
any(
windows
,
target_os
=
"fuchsia"
)
)]
#[cfg(windows)]
mod
platform
{
use
mio
::
Ready
;
...
...
tokio-tcp/src/listener.rs
View file @
d36ae24d
...
...
@@ -233,7 +233,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
;
...
...
tokio-tcp/src/stream.rs
View file @
d36ae24d
...
...
@@ -718,7 +718,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
;
...
...
tokio-udp/src/socket.rs
View file @
d36ae24d
...
...
@@ -396,7 +396,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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment