diff options
author | 2021-03-02 20:44:08 +0000 | |
---|---|---|
committer | 2021-03-02 20:44:08 +0000 | |
commit | c4df4b1b2d85d99236b09060a8d4b32e4b56fdd1 (patch) | |
tree | c3ea1c8ef33399e4fce83c3f4f12a5c5aab6d8ed | |
parent | 4573928ff1decb2c36c6bc7fe3be643c95fa493f (diff) | |
download | cortex-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.rs | 1 |
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] = [ |