diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2022-01-17 21:05:59 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2022-01-18 15:11:40 +0000 |
| commit | f5c59b3514fd634ad22a25919bc8f2e25613c980 (patch) | |
| tree | 8862983c47568a2354b14cb2c28efb68f5e12c98 /library/stdarch/crates/std_detect | |
| parent | ab48bdfb466bde2bea5a320ac0cd1814cb17385a (diff) | |
| download | rust-f5c59b3514fd634ad22a25919bc8f2e25613c980.tar.gz rust-f5c59b3514fd634ad22a25919bc8f2e25613c980.zip | |
Handle stabilization of vec_spare_capacity
Diffstat (limited to 'library/stdarch/crates/std_detect')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/lib.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/library/stdarch/crates/std_detect/src/lib.rs b/library/stdarch/crates/std_detect/src/lib.rs index a17bd40e04f..bf9c707cb62 100644 --- a/library/stdarch/crates/std_detect/src/lib.rs +++ b/library/stdarch/crates/std_detect/src/lib.rs @@ -18,14 +18,8 @@ #![allow(clippy::shadow_reuse)] #![deny(clippy::missing_inline_in_public_items)] #![cfg_attr(test, allow(unused_imports))] -#![cfg_attr(feature = "std_detect_file_io", feature(vec_spare_capacity))] #![no_std] -// rust-lang/rust#83888: removing `extern crate` gives an error that `vec_spare_capacity` is unknown -#[cfg_attr(feature = "std_detect_file_io", allow(unused_extern_crates))] -#[cfg(feature = "std_detect_file_io")] -extern crate alloc; - #[cfg(test)] #[macro_use] extern crate std; |
