Skip to content

Commit

Permalink
c-m-rt: mark Vector as repr(C)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgreig committed Nov 4, 2023
1 parent acbdb6f commit 989c132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cortex-m-rt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,7 @@ extern "C" {
}

#[doc(hidden)]
#[repr(C)]
pub union Vector {
handler: unsafe extern "C" fn(),
reserved: usize,
Expand Down

0 comments on commit 989c132

Please sign in to comment.