Handle stabilization of vec_spare_capacity
This commit is contained in:
parent
ab48bdfb46
commit
f5c59b3514
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue