diff options
author | Alex Crichton <alex@alexcrichton.com> | 2018-11-21 19:25:40 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2018-11-21 19:25:40 -0800 |
commit | 1eeba38558f5f83cd62901923f4bea8eea90bf82 (patch) | |
tree | cf10d9fc35e6d9f86495fae147503c7d9fa05d20 /src/lib.rs | |
parent | 03310f8ad668eb66b21db91ccb0b93e3ac4c5207 (diff) | |
download | rust-libc-1eeba38558f5f83cd62901923f4bea8eea90bf82.tar.gz |
Remove unstable `libc` feature on rustc-dep-of-std0.2.44
No longer needed and this is done via other means in upstream rustc
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib.rs b/src/lib.rs index 42471d178e..03e78041ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -150,19 +150,11 @@ ) )] // Attributes needed when building as part of the standard library -#![cfg_attr(feature = "rustc-dep-of-std", feature(staged_api, cfg_target_vendor))] +#![cfg_attr(feature = "rustc-dep-of-std", feature(cfg_target_vendor))] #![cfg_attr(feature = "rustc-dep-of-std", feature(link_cfg, repr_packed))] #![cfg_attr(feature = "rustc-dep-of-std", feature(no_core))] #![cfg_attr(feature = "rustc-dep-of-std", no_core)] #![cfg_attr(feature = "rustc-dep-of-std", allow(warnings))] -#![cfg_attr( - feature = "rustc-dep-of-std", - unstable( - feature = "libc", - reason = "use `libc` from crates.io", - issue = "27783" - ) -)] #![cfg_attr(not(any(feature = "use_std", feature = "rustc-dep-of-std")), no_std)] #[cfg(all(not(cross_platform_docs), feature = "use_std"))] |