From dc02daae5b30179b8cb9a149cceb963ef6530666 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Thu, 24 Dec 2020 17:48:20 +0100 Subject: [PATCH] Fix build with rustc-dep-of-std in the latest nightly --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f52e428fd6573..6bb71c552d624 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,10 +17,7 @@ )] #![cfg_attr(libc_deny_warnings, deny(warnings))] // Attributes needed when building as part of the standard library -#![cfg_attr( - feature = "rustc-dep-of-std", - feature(cfg_target_vendor, link_cfg, no_core) -)] +#![cfg_attr(feature = "rustc-dep-of-std", feature(link_cfg, no_core))] #![cfg_attr(libc_thread_local, feature(thread_local))] // Enable extra lints: #![cfg_attr(feature = "extra_traits", deny(missing_debug_implementations))]