summaryrefslogtreecommitdiffstats
path: root/tokio-tcp
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2018-05-14 12:00:19 -0700
committerGitHub <noreply@github.com>2018-05-14 12:00:19 -0700
commite281e4f4cb78f06ddaf134fb3725a2e144f3df16 (patch)
tree527f5feeb348141ee61c4372faee7b6ee0a7fb33 /tokio-tcp
parent6598334021ee281f484492c4acc75571d82f046b (diff)
Remove fuchsia references as it is not supported. (#355)
Diffstat (limited to 'tokio-tcp')
-rw-r--r--tokio-tcp/src/listener.rs2
-rw-r--r--tokio-tcp/src/stream.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tokio-tcp/src/listener.rs b/tokio-tcp/src/listener.rs
index e6f8ce3e..1eff3556 100644
--- a/tokio-tcp/src/listener.rs
+++ b/tokio-tcp/src/listener.rs
@@ -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;
diff --git a/tokio-tcp/src/stream.rs b/tokio-tcp/src/stream.rs
index 0a62804b..b68580cb 100644
--- a/tokio-tcp/src/stream.rs
+++ b/tokio-tcp/src/stream.rs
@@ -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;