Skip to content

Commit 6eb8d1c

Browse files
committed
Treat bitrig and openbsd the same (@semarie)
1 parent b8f5838 commit 6eb8d1c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/unix/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,7 @@ cfg_if! {
209209
} else if #[cfg(all(not(stdbuild),
210210
feature = "use_std",
211211
not(any(target_os = "macos",
212-
target_os = "ios",
213-
target_os = "bitrig")
212+
target_os = "ios")
214213
)))] {
215214
// cargo build, don't pull in anything extra as the libstd dep
216215
// already pulls in all libs.
@@ -234,14 +233,14 @@ cfg_if! {
234233
#[link(name = "m")]
235234
extern {}
236235
} else if #[cfg(any(target_os = "macos",
237-
target_os = "ios",
238-
target_os = "bitrig"))] {
236+
target_os = "ios"))] {
239237
#[link(name = "c")]
240238
#[link(name = "m")]
241239
#[link(name = "resolv")]
242240
extern {}
243241
} else if #[cfg(any(target_os = "android",
244-
target_os = "openbsd"))] {
242+
target_os = "openbsd",
243+
target_os = "bitrig"))] {
245244
#[link(name = "c")]
246245
#[link(name = "m")]
247246
extern {}
@@ -714,6 +713,7 @@ extern {
714713
not(target_os = "ios"),
715714
not(target_os = "netbsd"),
716715
not(target_os = "openbsd"),
716+
not(target_os = "bitrig"),
717717
not(target_os = "solaris"),
718718
not(target_env = "musl")
719719
),

0 commit comments

Comments
 (0)