Fix unused extern crate warning with certain build flags.

master
Gerd Zellweger 2021-06-14 15:16:15 -07:00
parent bae279c3a8
commit e4d487d5fb
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ compile_error!("at least one socket needs to be enabled"); */
#![allow(clippy::option_map_unit_fn)]
#![allow(clippy::unit_arg)]
#[cfg(any(feature = "std", feature = "alloc"))]
extern crate alloc;
#[cfg(not(any(feature = "proto-ipv4", feature = "proto-ipv6")))]