summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2018-06-08 07:57:46 +0200
committerest31 <MTest31@outlook.com>2018-06-08 09:24:30 +0200
commitf164aa8806598b0a79e56c691dc9833d75622cf4 (patch)
treecb535b825baf2ab42e655f05850337067293a3ac
parent8a85d662b90c14d458bc4ae9521a05564e20d7ae (diff)
downloadrust-libc-f164aa8806598b0a79e56c691dc9833d75622cf4.tar.gz
Simplify the stdbuild section
-rw-r--r--src/lib.rs4
1 files changed, 1 insertions, 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",