diff options
author | 2023-08-16 22:28:08 +0000 | |
---|---|---|
committer | 2023-08-16 22:28:08 +0000 | |
commit | 1746a63ca16b68514ea23dcca1543aed00165452 (patch) | |
tree | fbed40673119c9a2e1148721e85fcd1449d2b9da /cortex-m-rt/tests/compile-fail/hard-fault-twice.rs | |
parent | 4651808e1de360e01b3e734c655aeb5310881b7c (diff) | |
parent | faf7bd3cf37343dec23f61c185e0ae22f684e991 (diff) | |
download | cortex-m-1746a63ca16b68514ea23dcca1543aed00165452.tar.gz cortex-m-1746a63ca16b68514ea23dcca1543aed00165452.tar.zst cortex-m-1746a63ca16b68514ea23dcca1543aed00165452.zip |
Merge pull request #476 from diondokter/optional-hardfault-trampoline
Hardfault trampoline is now optional
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/hard-fault-twice.rs')
-rw-r--r-- | cortex-m-rt/tests/compile-fail/hard-fault-twice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs b/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs index 03b79a5..af80127 100644 --- a/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs +++ b/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs @@ -19,7 +19,7 @@ unsafe fn HardFault(_ef: &ExceptionFrame) -> ! { pub mod reachable { use cortex_m_rt::{exception, ExceptionFrame}; - #[exception] //~ ERROR symbol `HardFault` is already defined + #[exception] //~ ERROR symbol `_HardFault` is already defined unsafe fn HardFault(_ef: &ExceptionFrame) -> ! { loop {} } |