diff options
author | 2018-09-17 23:56:49 +0000 | |
---|---|---|
committer | 2018-09-17 23:56:49 +0000 | |
commit | 03f9290a06bb63fc11436631a1c311299ed9efad (patch) | |
tree | bbb6d028b300d9bf90a40ae46650f34b939e69fe /cortex-m-rt/tests/compile-fail/default-handler-hidden.rs | |
parent | 98ce8a1f5d30e3c5c421c0e9c19c078cea7c0473 (diff) | |
parent | 85c85dca701989b83644b26af451cda5a12a9508 (diff) | |
download | cortex-m-03f9290a06bb63fc11436631a1c311299ed9efad.tar.gz cortex-m-03f9290a06bb63fc11436631a1c311299ed9efad.tar.zst cortex-m-03f9290a06bb63fc11436631a1c311299ed9efad.zip |
Merge #124
124: use panic-halt instead of panic-{abort,semihosting} r=therealprof a=japaric
the former requires a feature gate; the later pulls in the cortex-m crate
Eventually we want to test this crate on beta. To do that our dependencies must
not contain feature gates. That's not the case of `panic-abort`, which depends
on the `core_intrinsics` feature.
This PR fixes that. I could have used `panic-semihosting` everywhere but decided
for `panic-halt` which has zero dependencies as I figured that might slightly
decrease CI times.
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/default-handler-hidden.rs')
-rw-r--r-- | cortex-m-rt/tests/compile-fail/default-handler-hidden.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/tests/compile-fail/default-handler-hidden.rs b/cortex-m-rt/tests/compile-fail/default-handler-hidden.rs index 059c10b..e57cb31 100644 --- a/cortex-m-rt/tests/compile-fail/default-handler-hidden.rs +++ b/cortex-m-rt/tests/compile-fail/default-handler-hidden.rs @@ -5,7 +5,7 @@ #![no_std] extern crate cortex_m_rt; -extern crate panic_semihosting; +extern crate panic_halt; use cortex_m_rt::{entry, exception}; |