diff options
author | 2023-11-04 02:04:42 +0000 | |
---|---|---|
committer | 2023-11-04 02:05:28 +0000 | |
commit | d6c24855c179e5be7b12939502079b11daa3df5f (patch) | |
tree | db346c88e25ea94ec7bb957e745b3b6757803792 /cortex-m-rt/examples/device.rs | |
parent | acbdb6f10b8549a068ad408907830333517f82b1 (diff) | |
download | cortex-m-d6c24855c179e5be7b12939502079b11daa3df5f.tar.gz cortex-m-d6c24855c179e5be7b12939502079b11daa3df5f.tar.zst cortex-m-d6c24855c179e5be7b12939502079b11daa3df5f.zip |
c-m-rt: mark Vector as repr(C)
Diffstat (limited to 'cortex-m-rt/examples/device.rs')
-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 c18b569..02a60c8 100644 --- a/cortex-m-rt/examples/device.rs +++ b/cortex-m-rt/examples/device.rs @@ -16,6 +16,7 @@ fn main() -> ! { } // interrupts portion of the vector table +#[repr(C)] pub union Vector { handler: unsafe extern "C" fn(), reserved: usize, |