summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2017-09-17 07:41:05 -0400
committerTamir Duberstein <tamird@gmail.com>2017-09-17 07:41:05 -0400
commit8e26ee6e54fcac65fb2bf067d69f6e6153d0ed31 (patch)
tree545658525b4630995e658840f2f29d72277a395a /src/lib.rs
parent4689af9b7b3eb07411e42cc7c79cb133208c3a92 (diff)
downloadrust-libc-8e26ee6e54fcac65fb2bf067d69f6e6153d0ed31.tar.gz
Bring back cfg_target_vendor, which is still used
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bc2112730d..366ccff171 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -83,7 +83,7 @@
))]
// Attributes needed when building as part of the standard library
-#![cfg_attr(feature = "stdbuild", feature(no_std, staged_api, custom_attribute))]
+#![cfg_attr(feature = "stdbuild", feature(no_std, staged_api, custom_attribute, cfg_target_vendor))]
#![cfg_attr(feature = "stdbuild", feature(link_cfg))]
#![cfg_attr(feature = "stdbuild", no_std)]
#![cfg_attr(feature = "stdbuild", staged_api)]