Skip to content

Commit

Permalink
more cfg alias targets (#2236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan561 authored Nov 30, 2023
1 parent 39ad47b commit e13a182
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ fn main() {
dragonfly: { target_os = "dragonfly" },
ios: { target_os = "ios" },
freebsd: { target_os = "freebsd" },
fuchsia: { target_os = "fuchsia" },
haiku: { target_os = "haiku" },
illumos: { target_os = "illumos" },
linux: { target_os = "linux" },
macos: { target_os = "macos" },
netbsd: { target_os = "netbsd" },
openbsd: { target_os = "openbsd" },
redox: { target_os = "redox" },
solaris: { target_os = "solaris" },
watchos: { target_os = "watchos" },
tvos: { target_os = "tvos" },
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(clippy::cast_ptr_alignment)]
#![deny(unsafe_op_in_unsafe_fn)]
#![allow(clippy::mismatched_target_os)]

// Re-exported external crates
pub use libc;
Expand Down

0 comments on commit e13a182

Please sign in to comment.