aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/examples/warnings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/examples/warnings.rs')
-rw-r--r--cortex-m-rt/examples/warnings.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cortex-m-rt/examples/warnings.rs b/cortex-m-rt/examples/warnings.rs
index 3372003..abf4a2f 100644
--- a/cortex-m-rt/examples/warnings.rs
+++ b/cortex-m-rt/examples/warnings.rs
@@ -22,6 +22,7 @@ extern "C" {
fn INT();
}
+#[repr(C)]
union Vector {
#[allow(dead_code)]
handler: unsafe extern "C" fn(),