summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-22 11:15:38 +0000
committerbors <bors@rust-lang.org>2019-02-22 11:15:38 +0000
commit400372d7b99caa60762c4860531c7f410eecf3e4 (patch)
tree92dfaa122decff32d9fcf1502dfb292e99e456ed
parent8c571e0ce930d726322a0b02e69f5dc0b8b9ca74 (diff)
parent61aeeda9555b6dd17f1e044967ab02bdd22f0c3e (diff)
downloadrust-libc-400372d7b99caa60762c4860531c7f410eecf3e4.tar.gz
Auto merge of #1270 - gnzlbg:no_extern_std, r=gnzlbg
Do not import the std library with use_std
-rw-r--r--src/lib.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3f4f3d1aeb..0e1f447ce7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -23,9 +23,6 @@
#![no_std]
#![cfg_attr(feature = "rustc-dep-of-std", no_core)]
-#[cfg(feature = "use_std")]
-extern crate std;
-
#[macro_use]
mod macros;