diff --git a/README.md b/README.md index 18e06d365..c768aa7ef 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,6 @@ or higher-level libraries. Currently supported platforms: * Android -* Bitrig * DragonFly BSD * FreeBSD * Linux diff --git a/src/lib.rs b/src/lib.rs index da41d6ee9..9cd0d8d9b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,7 +30,6 @@ //! Currently supported platforms: //! //! * Android -//! * Bitrig //! * DragonFly BSD //! * FreeBSD //! * Linux diff --git a/src/poll.rs b/src/poll.rs index 71e8b604d..52e20e68f 100644 --- a/src/poll.rs +++ b/src/poll.rs @@ -159,7 +159,6 @@ use std::{fmt, io}; /// | OS | Selector | /// |---------------|-----------| /// | Android | [epoll] | -/// | Bitrig | [kqueue] | /// | DragonFly BSD | [kqueue] | /// | FreeBSD | [kqueue] | /// | Linux | [epoll] | diff --git a/src/sys/unix/kqueue.rs b/src/sys/unix/kqueue.rs index f148111f8..41753a6c0 100644 --- a/src/sys/unix/kqueue.rs +++ b/src/sys/unix/kqueue.rs @@ -35,7 +35,7 @@ type Filter = u32; target_os = "macos" ))] type Data = libc::intptr_t; -#[cfg(any(target_os = "bitrig", target_os = "netbsd", target_os = "openbsd",))] +#[cfg(any(target_os = "netbsd", target_os = "openbsd"))] type Data = i64; // Type of the `udata` field in the `kevent` structure. diff --git a/src/sys/unix/mod.rs b/src/sys/unix/mod.rs index 39522560c..244eeb288 100644 --- a/src/sys/unix/mod.rs +++ b/src/sys/unix/mod.rs @@ -19,7 +19,6 @@ mod epoll; pub use self::epoll::{event, Event, Selector}; #[cfg(any( - target_os = "bitrig", target_os = "dragonfly", target_os = "freebsd", target_os = "ios", @@ -30,7 +29,6 @@ pub use self::epoll::{event, Event, Selector}; mod kqueue; #[cfg(any( - target_os = "bitrig", target_os = "dragonfly", target_os = "freebsd", target_os = "ios", diff --git a/src/sys/unix/net.rs b/src/sys/unix/net.rs index ac01df41f..bc6fe4079 100644 --- a/src/sys/unix/net.rs +++ b/src/sys/unix/net.rs @@ -15,7 +15,6 @@ pub fn new_ip_socket(addr: SocketAddr, socket_type: libc::c_int) -> io::Result io::Result { #[cfg(any( target_os = "android", - target_os = "bitrig", target_os = "dragonfly", target_os = "freebsd", target_os = "linux", diff --git a/src/sys/unix/waker.rs b/src/sys/unix/waker.rs index 4b13fa2b4..3555ca210 100644 --- a/src/sys/unix/waker.rs +++ b/src/sys/unix/waker.rs @@ -99,7 +99,6 @@ mod kqueue { pub use self::kqueue::Waker; #[cfg(any( - target_os = "bitrig", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd", @@ -165,7 +164,6 @@ mod pipe { } #[cfg(any( - target_os = "bitrig", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd", diff --git a/tests/tcp.rs b/tests/tcp.rs index eb1199664..faa3b4aad 100644 --- a/tests/tcp.rs +++ b/tests/tcp.rs @@ -641,7 +641,6 @@ macro_rules! wait { for event in &events { // Hup is only generated on kqueue platforms. #[cfg(any( - target_os = "bitrig", target_os = "dragonfly", target_os = "freebsd", target_os = "ios",