From 989c13205fe03400984dc5c8df6bd1b7b639ba30 Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Sat, 4 Nov 2023 02:04:42 +0000 Subject: [PATCH] c-m-rt: mark Vector as repr(C) --- cortex-m-rt/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs index 920c9897..27bb1bdc 100644 --- a/cortex-m-rt/src/lib.rs +++ b/cortex-m-rt/src/lib.rs @@ -1128,6 +1128,7 @@ extern "C" { } #[doc(hidden)] +#[repr(C)] pub union Vector { handler: unsafe extern "C" fn(), reserved: usize,