Skip to content

Commit 77a4683

Browse files
committed
Remove bitrig support
See rust-lang/rust#60775 .
1 parent 9183c00 commit 77a4683

File tree

8 files changed

+4
-152
lines changed

8 files changed

+4
-152
lines changed

ci/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ thumbv7neon-linux-androideabi \
199199
thumbv7neon-unknown-linux-gnueabihf \
200200
thumbv8m.main-none-eabi \
201201
x86_64-pc-windows-msvc
202-
x86_64-unknown-bitrig \
203202
x86_64-unknown-dragonfly \
204203
x86_64-unknown-haiku \
205204
x86_64-unknown-hermit \

src/unix/bsd/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,7 @@ cfg_if! {
663663
if #[cfg(any(target_os = "macos", target_os = "ios"))] {
664664
mod apple;
665665
pub use self::apple::*;
666-
} else if #[cfg(any(target_os = "openbsd", target_os = "netbsd",
667-
target_os = "bitrig"))] {
666+
} else if #[cfg(any(target_os = "openbsd", target_os = "netbsd"))] {
668667
mod netbsdlike;
669668
pub use self::netbsdlike::*;
670669
} else if #[cfg(any(target_os = "freebsd", target_os = "dragonfly"))] {

src/unix/bsd/netbsdlike/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ cfg_if! {
676676
if #[cfg(target_os = "netbsd")] {
677677
mod netbsd;
678678
pub use self::netbsd::*;
679-
} else if #[cfg(any(target_os = "openbsd", target_os = "bitrig"))] {
679+
} else if #[cfg(target_os = "openbsd")] {
680680
mod openbsdlike;
681681
pub use self::openbsdlike::*;
682682
} else {

src/unix/bsd/netbsdlike/openbsdlike/bitrig/mod.rs

Lines changed: 0 additions & 129 deletions
This file was deleted.

src/unix/bsd/netbsdlike/openbsdlike/bitrig/x86.rs

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/unix/bsd/netbsdlike/openbsdlike/bitrig/x86_64.rs

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/unix/bsd/netbsdlike/openbsdlike/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -939,9 +939,6 @@ cfg_if! {
939939
if #[cfg(target_os = "openbsd")] {
940940
mod openbsd;
941941
pub use self::openbsd::*;
942-
} else if #[cfg(target_os = "bitrig")] {
943-
mod bitrig;
944-
pub use self::bitrig::*;
945942
} else {
946943
// Unknown target_os
947944
}

src/unix/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,7 @@ cfg_if! {
327327
} else if #[cfg(any(target_os = "macos",
328328
target_os = "ios",
329329
target_os = "android",
330-
target_os = "openbsd",
331-
target_os = "bitrig"))] {
330+
target_os = "openbsd"))] {
332331
#[link(name = "c")]
333332
#[link(name = "m")]
334333
extern {}
@@ -1158,8 +1157,7 @@ cfg_if! {
11581157
target_os = "freebsd",
11591158
target_os = "dragonfly",
11601159
target_os = "openbsd",
1161-
target_os = "netbsd",
1162-
target_os = "bitrig"))] {
1160+
target_os = "netbsd"))] {
11631161
mod bsd;
11641162
pub use self::bsd::*;
11651163
} else if #[cfg(any(target_os = "solaris",

0 commit comments

Comments
 (0)