From 4c379e8e933a06ddde736a4ff7a5de8b3e441195 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Wed, 5 Feb 2020 19:53:43 +0300 Subject: [PATCH] Remove libc completely It is no longer used anywhere, right? --- fixed-hash/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/fixed-hash/src/lib.rs b/fixed-hash/src/lib.rs index a3e7af6f7..027ba2284 100644 --- a/fixed-hash/src/lib.rs +++ b/fixed-hash/src/lib.rs @@ -18,10 +18,6 @@ pub extern crate alloc as alloc_; #[doc(hidden)] pub use core as core_; -#[cfg(all(feature = "libc", not(target_os = "unknown")))] -#[doc(hidden)] -pub use libc; - // This disables a warning for unused #[macro_use(..)] // which is incorrect since the compiler does not check // for all available configurations. @@ -38,10 +34,6 @@ pub use static_assertions::const_assert; #[doc(hidden)] pub use byteorder; -#[cfg(not(feature = "libc"))] -#[doc(hidden)] -pub mod libc {} - #[cfg(feature = "rustc-hex")] #[doc(hidden)] pub use rustc_hex;