We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2adc17a commit 11c98f6Copy full SHA for 11c98f6
crates/std_detect/src/lib.rs
@@ -18,14 +18,8 @@
18
#![allow(clippy::shadow_reuse)]
19
#![deny(clippy::missing_inline_in_public_items)]
20
#![cfg_attr(test, allow(unused_imports))]
21
-#![cfg_attr(feature = "std_detect_file_io", feature(vec_spare_capacity))]
22
#![no_std]
23
24
-// rust-lang/rust#83888: removing `extern crate` gives an error that `vec_spare_capacity` is unknown
25
-#[cfg_attr(feature = "std_detect_file_io", allow(unused_extern_crates))]
26
-#[cfg(feature = "std_detect_file_io")]
27
-extern crate alloc;
28
-
29
#[cfg(test)]
30
#[macro_use]
31
extern crate std;
0 commit comments