Fix std_detect_file_io

This commit is contained in:
Amanieu d'Antras
2022-01-24 01:32:45 +00:00
parent f5c59b3514
commit efad3ead52

View File

@@ -24,6 +24,11 @@
#[macro_use]
extern crate std;
// rust-lang/rust#83888: removing `extern crate` gives an error that `vec_spare>
#[cfg_attr(feature = "std_detect_file_io", allow(unused_extern_crates))]
#[cfg(feature = "std_detect_file_io")]
extern crate alloc;
#[doc(hidden)]
#[unstable(feature = "stdsimd", issue = "27731")]
pub mod detect;