diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2021-03-18 20:36:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-18 20:36:40 +0000 |
| commit | 72dda3aae088f39ea4face0df61436d6adb7479d (patch) | |
| tree | 3ff1c346f4f41e0d107329361c92536904533524 /library/stdarch/crates/std_detect/src/lib.rs | |
| parent | 7947cb8bac1440113786250c7810d83d2f41bb24 (diff) | |
| download | rust-72dda3aae088f39ea4face0df61436d6adb7479d.tar.gz rust-72dda3aae088f39ea4face0df61436d6adb7479d.zip | |
Fix building std_detect as a dependency of std (#1089)
Diffstat (limited to 'library/stdarch/crates/std_detect/src/lib.rs')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/stdarch/crates/std_detect/src/lib.rs b/library/stdarch/crates/std_detect/src/lib.rs index b051be5c0a5..6658c3e6bda 100644 --- a/library/stdarch/crates/std_detect/src/lib.rs +++ b/library/stdarch/crates/std_detect/src/lib.rs @@ -20,6 +20,7 @@ #![cfg_attr(feature = "std_detect_file_io", feature(vec_spare_capacity))] #![no_std] +#[cfg_attr(feature = "rustc-dep-of-std", allow(unused_extern_crates))] #[cfg(feature = "std_detect_file_io")] extern crate alloc; |
