Skip to content

Commit

Permalink
Remove unstable libc feature on rustc-dep-of-std
Browse files Browse the repository at this point in the history
No longer needed and this is done via other means in upstream rustc
  • Loading branch information
alexcrichton committed Nov 22, 2018
1 parent 03310f8 commit 1eeba38
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))]
Expand Down

0 comments on commit 1eeba38

Please sign in to comment.