Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic_implementation - feature has been removed #6

Open
adamvm opened this issue Oct 5, 2020 · 0 comments
Open

panic_implementation - feature has been removed #6

adamvm opened this issue Oct 5, 2020 · 0 comments

Comments

@adamvm
Copy link

adamvm commented Oct 5, 2020

I faced this particular problem:

~/dev/rust/stm32-blue-pill-rust$ cargo check --release
   Compiling cortex-m-rt-macros v0.1.8
    Checking panic-semihosting v0.3.0
error[E0557]: feature has been removed
  --> /home/adi/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-semihosting-0.3.0/src/lib.rs:59:12
   |
59 | #![feature(panic_implementation)]
   |            ^^^^^^^^^^^^^^^^^^^^ feature has been removed
   |
   = note: subsumed by `#[panic_handler]`

error: cannot find attribute `panic_implementation` in this scope
  --> /home/adi/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-semihosting-0.3.0/src/lib.rs:71:3
   |
71 | #[panic_implementation]
   |   ^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /home/adi/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-semihosting-0.3.0/src/lib.rs:59:1
   |
59 | #![feature(panic_implementation)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0554, E0557.
For more information about an error, try `rustc --explain E0554`.
error: could not compile `panic-semihosting`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

I run this rust version:

$ rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: checking for self-updates

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.46.0 (04488afe3 2020-08-24)

info: cleaning up downloads & tmp directories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant