diff options
author | 2023-11-16 00:00:44 +0000 | |
---|---|---|
committer | 2023-11-16 00:00:44 +0000 | |
commit | 08d30eaa15f9af6d3f13c68a3733115f89ba1781 (patch) | |
tree | b68549e77bd8d4e6dd5d24c5b37465f728e3e6c8 /cortex-m-rt/examples/warnings.rs | |
parent | 8050902ff0ccbd04abd9fad7f3d32d3a788f5c8e (diff) | |
parent | d6c24855c179e5be7b12939502079b11daa3df5f (diff) | |
download | cortex-m-08d30eaa15f9af6d3f13c68a3733115f89ba1781.tar.gz cortex-m-08d30eaa15f9af6d3f13c68a3733115f89ba1781.tar.zst cortex-m-08d30eaa15f9af6d3f13c68a3733115f89ba1781.zip |
Merge pull request #494 from rust-embedded/vector-repr-c
c-m-rt: mark Vector as repr(C)
Diffstat (limited to 'cortex-m-rt/examples/warnings.rs')
-rw-r--r-- | cortex-m-rt/examples/warnings.rs | 1 |
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(), |