aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/unsafe-init-static.rs
diff options
context:
space:
mode:
authorGravatar Dominik Boehi <dominik.boehi@gmail.com> 2020-07-22 19:42:36 +0200
committerGravatar GitHub <noreply@github.com> 2020-07-22 19:42:36 +0200
commite7c72973c5a59d3a6245560a4892fd56966debe4 (patch)
treed9f42f87e0de58efafe03c48398620e007eba9ee /cortex-m-rt/tests/compile-fail/unsafe-init-static.rs
parent1ac145307c2d3a7668660108bc80484f4c0463ff (diff)
downloadcortex-m-e7c72973c5a59d3a6245560a4892fd56966debe4.tar.gz
cortex-m-e7c72973c5a59d3a6245560a4892fd56966debe4.tar.zst
cortex-m-e7c72973c5a59d3a6245560a4892fd56966debe4.zip
Make Vector public in interrupt example
If the `Vector`union is not public, the example code leads to a compilation error because `pub static __INTERRUPTS` leaks the private type `Vector`.
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/unsafe-init-static.rs')
0 files changed, 0 insertions, 0 deletions