aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-03-02 21:06:02 +0000
committerGravatar GitHub <noreply@github.com> 2021-03-02 21:06:02 +0000
commite2e0358a3b249706ed1cb8ad9d12669446dfe78d (patch)
treec3ea1c8ef33399e4fce83c3f4f12a5c5aab6d8ed
parent4573928ff1decb2c36c6bc7fe3be643c95fa493f (diff)
parentc4df4b1b2d85d99236b09060a8d4b32e4b56fdd1 (diff)
downloadcortex-m-e2e0358a3b249706ed1cb8ad9d12669446dfe78d.tar.gz
cortex-m-e2e0358a3b249706ed1cb8ad9d12669446dfe78d.tar.zst
cortex-m-e2e0358a3b249706ed1cb8ad9d12669446dfe78d.zip
Merge #317
317: Fix examples build for nightly r=jonas-schievink a=adamgreig Co-authored-by: Adam Greig <adam@adamgreig.com>
-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] = [