From f164aa8806598b0a79e56c691dc9833d75622cf4 Mon Sep 17 00:00:00 2001 From: est31 Date: Fri, 8 Jun 2018 07:57:46 +0200 Subject: Simplify the stdbuild section --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 489315cfda..f7efb6002e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -86,10 +86,8 @@ ))] // Attributes needed when building as part of the standard library -#![cfg_attr(feature = "stdbuild", feature(no_std, staged_api, custom_attribute, cfg_target_vendor))] +#![cfg_attr(feature = "stdbuild", feature(staged_api, custom_attribute, cfg_target_vendor))] #![cfg_attr(feature = "stdbuild", feature(link_cfg, repr_packed))] -#![cfg_attr(feature = "stdbuild", no_std)] -#![cfg_attr(feature = "stdbuild", staged_api)] #![cfg_attr(feature = "stdbuild", allow(warnings))] #![cfg_attr(feature = "stdbuild", unstable(feature = "libc", reason = "use `libc` from crates.io", -- cgit v1.2.1