Skip to content

Commit 1eeba38

Browse files
committed
Remove unstable libc feature on rustc-dep-of-std
No longer needed and this is done via other means in upstream rustc
1 parent 03310f8 commit 1eeba38

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/lib.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,19 +150,11 @@
150150
)
151151
)]
152152
// Attributes needed when building as part of the standard library
153-
#![cfg_attr(feature = "rustc-dep-of-std", feature(staged_api, cfg_target_vendor))]
153+
#![cfg_attr(feature = "rustc-dep-of-std", feature(cfg_target_vendor))]
154154
#![cfg_attr(feature = "rustc-dep-of-std", feature(link_cfg, repr_packed))]
155155
#![cfg_attr(feature = "rustc-dep-of-std", feature(no_core))]
156156
#![cfg_attr(feature = "rustc-dep-of-std", no_core)]
157157
#![cfg_attr(feature = "rustc-dep-of-std", allow(warnings))]
158-
#![cfg_attr(
159-
feature = "rustc-dep-of-std",
160-
unstable(
161-
feature = "libc",
162-
reason = "use `libc` from crates.io",
163-
issue = "27783"
164-
)
165-
)]
166158
#![cfg_attr(not(any(feature = "use_std", feature = "rustc-dep-of-std")), no_std)]
167159

168160
#[cfg(all(not(cross_platform_docs), feature = "use_std"))]

0 commit comments

Comments
 (0)