Skip to content

Commit f164aa8

Browse files
committed
Simplify the stdbuild section
1 parent 8a85d66 commit f164aa8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,8 @@
8686
))]
8787

8888
// Attributes needed when building as part of the standard library
89-
#![cfg_attr(feature = "stdbuild", feature(no_std, staged_api, custom_attribute, cfg_target_vendor))]
89+
#![cfg_attr(feature = "stdbuild", feature(staged_api, custom_attribute, cfg_target_vendor))]
9090
#![cfg_attr(feature = "stdbuild", feature(link_cfg, repr_packed))]
91-
#![cfg_attr(feature = "stdbuild", no_std)]
92-
#![cfg_attr(feature = "stdbuild", staged_api)]
9391
#![cfg_attr(feature = "stdbuild", allow(warnings))]
9492
#![cfg_attr(feature = "stdbuild", unstable(feature = "libc",
9593
reason = "use `libc` from crates.io",

0 commit comments

Comments
 (0)