Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

Lang item first defined in crate 'panic unwind' (which std depends on) #4

Open
ykafia opened this issue Jul 5, 2021 · 0 comments
Open

Comments

@ykafia
Copy link

ykafia commented Jul 5, 2021

When i run "cargo make" i end up with this error :

error[E0152]: found duplicate lang item `eh_personality`
  --> src/lib.rs:21:1
   |
21 | pub extern "C" fn eh_personality() {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on)
   = note: first definition in `panic_unwind` loaded from /home/ykafia/.rustup/toolchains/nightly-2021-04-15-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c2ca47afdcc5e309.rlib
   = note: second definition in the local crate (`vita1`)

I'm using nightly since stable gives me this error :

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /home/ykafia/psp2-sys/src/lib.rs:1:1
  |
1 | #![feature(extern_types)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant