aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/src/lib.rs')
-rw-r--r--cortex-m-rt/src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs
index bc9572f..b83d53c 100644
--- a/cortex-m-rt/src/lib.rs
+++ b/cortex-m-rt/src/lib.rs
@@ -410,10 +410,13 @@ extern "C" {
fn SYS_TICK();
}
+#[allow(private_no_mangle_statics)]
#[cfg(target_arch = "arm")]
-#[used]
+#[doc(hidden)]
#[link_section = ".vector_table.exceptions"]
-static EXCEPTIONS: [Option<unsafe extern "C" fn()>; 14] = [
+#[no_mangle]
+#[used]
+pub static EXCEPTIONS: [Option<unsafe extern "C" fn()>; 14] = [
Some(NMI),
Some(HARD_FAULT),
Some(MEM_MANAGE),