Skip to content

Commit

Permalink
Remove bitrig support
Browse files Browse the repository at this point in the history
support no longer exists for this target in Rust.
See rust-lang/rust#60743
  • Loading branch information
kubo39 authored and Thomasdezeeuw committed Oct 20, 2019
1 parent 9fbab2f commit c7bfba3
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ or higher-level libraries.
Currently supported platforms:

* Android
* Bitrig
* DragonFly BSD
* FreeBSD
* Linux
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
//! Currently supported platforms:
//!
//! * Android
//! * Bitrig
//! * DragonFly BSD
//! * FreeBSD
//! * Linux
Expand Down
1 change: 0 additions & 1 deletion src/poll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ use std::{fmt, io};
/// | OS | Selector |
/// |---------------|-----------|
/// | Android | [epoll] |
/// | Bitrig | [kqueue] |
/// | DragonFly BSD | [kqueue] |
/// | FreeBSD | [kqueue] |
/// | Linux | [epoll] |
Expand Down
2 changes: 1 addition & 1 deletion src/sys/unix/kqueue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions src/sys/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
1 change: 0 additions & 1 deletion src/sys/unix/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub fn new_ip_socket(addr: SocketAddr, socket_type: libc::c_int) -> io::Result<l
pub fn new_socket(domain: libc::c_int, socket_type: libc::c_int) -> io::Result<libc::c_int> {
#[cfg(any(
target_os = "android",
target_os = "bitrig",
target_os = "dragonfly",
target_os = "freebsd",
target_os = "linux",
Expand Down
2 changes: 0 additions & 2 deletions src/sys/unix/waker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -165,7 +164,6 @@ mod pipe {
}

#[cfg(any(
target_os = "bitrig",
target_os = "dragonfly",
target_os = "netbsd",
target_os = "openbsd",
Expand Down
1 change: 0 additions & 1 deletion tests/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c7bfba3

Please sign in to comment.