ignore no_mangle related warning

This commit is contained in:
Jorge Aparicio 2017-04-25 15:27:34 -05:00
parent 8659ecea72
commit f9ada3f7f4

View file

@ -715,6 +715,7 @@ macro_rules! peripherals {
},)+ },)+
}) => { }) => {
$( $(
#[allow(private_no_mangle_statics)]
#[no_mangle] #[no_mangle]
static $PERIPHERAL: static $PERIPHERAL:
$crate::Peripheral<::$device::$RegisterBlock, $crate::$C> = $crate::Peripheral<::$device::$RegisterBlock, $crate::$C> =