aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2021-03-02 20:44:08 +0000
committerGravatar Adam Greig <adam@adamgreig.com> 2021-03-02 20:44:08 +0000
commitc4df4b1b2d85d99236b09060a8d4b32e4b56fdd1 (patch)
treec3ea1c8ef33399e4fce83c3f4f12a5c5aab6d8ed
parent4573928ff1decb2c36c6bc7fe3be643c95fa493f (diff)
downloadcortex-m-c4df4b1b2d85d99236b09060a8d4b32e4b56fdd1.tar.gz
cortex-m-c4df4b1b2d85d99236b09060a8d4b32e4b56fdd1.tar.zst
cortex-m-c4df4b1b2d85d99236b09060a8d4b32e4b56fdd1.zip
Fix examples build for nightly
-rw-r--r--cortex-m-rt/examples/device.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cortex-m-rt/examples/device.rs b/cortex-m-rt/examples/device.rs
index dc1c738..c18b569 100644
--- a/cortex-m-rt/examples/device.rs
+++ b/cortex-m-rt/examples/device.rs
@@ -26,6 +26,7 @@ extern "C" {
fn PVD();
}
+#[allow(unsafe_code)]
#[link_section = ".vector_table.interrupts"]
#[no_mangle]
pub static __INTERRUPTS: [Vector; 3] = [