Skip to content

Commit ca33db9

Browse files
josephlrnewpavlov
authored andcommitted
Remove Bitrig support (#56)
1 parent 479d036 commit ca33db9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//! | macOS | [`getentropy()`][19] if available, otherise [`/dev/random`][20] (identical to `/dev/urandom`)
1818
//! | iOS | [`SecRandomCopyBytes`][4]
1919
//! | FreeBSD | [`kern.arandom`][5]
20-
//! | OpenBSD, Bitrig | [`getentropy`][6]
20+
//! | OpenBSD | [`getentropy`][6]
2121
//! | NetBSD | [`/dev/urandom`][7] after reading from `/dev/random` once
2222
//! | Dragonfly BSD | [`/dev/random`][8]
2323
//! | Solaris, illumos | [`getrandom`][9] system call if available, otherwise [`/dev/random`][10]
@@ -176,8 +176,6 @@ mod use_file;
176176
cfg_if! {
177177
if #[cfg(target_os = "android")] {
178178
#[path = "linux_android.rs"] mod imp;
179-
} else if #[cfg(target_os = "bitrig")] {
180-
#[path = "openbsd_bitrig.rs"] mod imp;
181179
} else if #[cfg(target_os = "cloudabi")] {
182180
#[path = "cloudabi.rs"] mod imp;
183181
} else if #[cfg(target_os = "dragonfly")] {
@@ -201,7 +199,7 @@ cfg_if! {
201199
} else if #[cfg(target_os = "netbsd")] {
202200
#[path = "use_file.rs"] mod imp;
203201
} else if #[cfg(target_os = "openbsd")] {
204-
#[path = "openbsd_bitrig.rs"] mod imp;
202+
#[path = "openbsd.rs"] mod imp;
205203
} else if #[cfg(target_os = "redox")] {
206204
#[path = "use_file.rs"] mod imp;
207205
} else if #[cfg(target_os = "solaris")] {

src/openbsd_bitrig.rs renamed to src/openbsd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// option. This file may not be copied, modified, or distributed
77
// except according to those terms.
88

9-
//! Implementation for OpenBSD / Bitrig
9+
//! Implementation for OpenBSD
1010
extern crate std;
1111

1212
use crate::Error;

0 commit comments

Comments
 (0)