rust-embedded / cortex-m-quickstart

Template to develop bare metal applications for Cortex-M microcontrollers
791 stars 164 forks source link

Update panic-semihosting version in generated Cargo.toml #76

Open bobgates opened 5 years ago

bobgates commented 5 years ago

At the moment, cortex-m-quickstart generates a Cargo.toml that includes a dependency on panic-semihosting version 0.3.0

This leads to an error when building:

error[E0557]: feature has been removed
  --> /Users/declan/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-semihosting-0.3.0/src/lib.rs:59:12
   |
59 | #![feature(panic_implementation)]
   |            ^^^^^^^^^^^^^^^^^^^^
   |
note: subsumed by `#[panic_handler]` 

If the version of panic-semihosting is changed to 0.5.2, then the generated program builds as per the instructions in the documentation.