From 970a498ca8f31f8f4714ac0de079976255436085 Mon Sep 17 00:00:00 2001 From: Matti Virkkunen Date: Tue, 24 Nov 2020 17:41:25 +0200 Subject: [PATCH] Remove superfluous no_mangle --- rtt-target/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rtt-target/src/lib.rs b/rtt-target/src/lib.rs index fce255f..12275f6 100644 --- a/rtt-target/src/lib.rs +++ b/rtt-target/src/lib.rs @@ -174,7 +174,6 @@ impl UpChannel { /// is only safe to use in panic handlers and the like that permanently disable interrupts. pub unsafe fn conjure(number: usize) -> Option { extern "C" { - #[no_mangle] #[link_name = "_SEGGER_RTT"] static mut CONTROL_BLOCK: MaybeUninit; }