From f9ada3f7f45c1370b38a369a64dca4535cdb543c Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 25 Apr 2017 15:27:34 -0500 Subject: [PATCH] ignore no_mangle related warning --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 0b1c1fe9ed..7edc89a57b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -715,6 +715,7 @@ macro_rules! peripherals { },)+ }) => { $( + #[allow(private_no_mangle_statics)] #[no_mangle] static $PERIPHERAL: $crate::Peripheral<::$device::$RegisterBlock, $crate::$C> =