japaric / stm32f103xx-hal

HAL for the STM32F103xx family of microcontrollers
Apache License 2.0
115 stars 40 forks source link

definition of an unknown language item: panic_fmt #88

Closed fmarts closed 6 years ago

fmarts commented 6 years ago

Hi! Thanks for this crate!

I'm having a problem when building cortex-m-quickstart which adds this crate as a dependency:

error[E0522]: definition of an unknown language item: `panic_fmt`
--> .../.cargo/registry/src/github.com-1ecc6299db9ec823/panic-semihosting-0.2.0/src/lib.rs:67:1
    |
    | #[lang = "panic_fmt"]
    | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt`

Bumping panic-semihosting to version 0.3.0 should fix the issue, but I'm not aware of potential side-effects of this change in this create. Is there anything else I can do to fix this?

Thanks

fmarts commented 6 years ago

Just saw this PR which fixes this issue: https://github.com/japaric/stm32f103xx-hal/pull/86 :+1:

japaric commented 6 years ago

Fixed in #86