diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-10-21 18:05:46 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-10-22 11:44:16 -0400 |
| commit | dd8ae4f64ea8af1705ab23ee822ece70933d9226 (patch) | |
| tree | 557d17e1361df1a6c6ccfc02d2bdae222be934ec /src/liblibc | |
| parent | e7690e776460d264c46a9cd4179ab1b91aeb7c45 (diff) | |
| download | rust-dd8ae4f64ea8af1705ab23ee822ece70933d9226.tar.gz rust-dd8ae4f64ea8af1705ab23ee822ece70933d9226.zip | |
Fix build of libc on stable
This is needed to release a new version of libc
Diffstat (limited to 'src/liblibc')
| -rw-r--r-- | src/liblibc/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 //! |
