From 26060c2d7dbc863d84a9b0b33425a49b12c03df3 Mon Sep 17 00:00:00 2001 From: SteveLauC Date: Thu, 30 Nov 2023 23:07:11 +0800 Subject: [PATCH] Revert "more cfg alias targets (#2236)" This reverts commit e13a18275e02110ab98953956ab05df74e58cb99. --- build.rs | 3 --- src/lib.rs | 1 - 2 files changed, 4 deletions(-) diff --git a/build.rs b/build.rs index 6db634d44f..4535af1f04 100644 --- a/build.rs +++ b/build.rs @@ -6,14 +6,11 @@ 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" }, diff --git a/src/lib.rs b/src/lib.rs index fdcd092378..0d4416926f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -92,7 +92,6 @@ #![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;