From dd8ae4f64ea8af1705ab23ee822ece70933d9226 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 21 Oct 2015 18:05:46 -0400 Subject: [PATCH] Fix build of libc on stable This is needed to release a new version of libc --- src/liblibc/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index f310cd4152f..540420c0ff9 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -24,7 +24,7 @@ html_playground_url = "https://play.rust-lang.org/", issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/")] #![cfg_attr(test, feature(test))] -#![feature(cfg_target_vendor)] +#![cfg_attr(not(feature = "cargo-build"), feature(cfg_target_vendor))] //! Bindings for the C standard library and other platform libraries //!