overdrivenpotato / rust-psp

Rust on PSP. Panic and allocation support. Access PSP system libraries.
Other
588 stars 31 forks source link

cannot build #167

Closed conzikool10 closed 4 months ago

conzikool10 commented 4 months ago

Fails with this log

PS C:\Users\conziebonzie\Desktop\psp> cargo psp
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
   Compiling psp v0.2.2
error[E0557]: feature has been removed
 --> C:\Users\conziebonzie\.cargo\registry\src\index.crates.io-6f17d22bba15001f\psp-0.2.2\src\lib.rs:6:5
  |
6 |     untagged_unions,
  |     ^^^^^^^^^^^^^^^ feature has been removed
  |
  = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more

error[E0432]: unresolved import `core::panic::BoxMeUp`
  --> C:\Users\conziebonzie\.cargo\registry\src\index.crates.io-6f17d22bba15001f\psp-0.2.2\src\panic.rs:12:68
   |
12 | use core::{mem::{self, ManuallyDrop}, any::Any, panic::{PanicInfo, BoxMeUp, Location}};
   |                                                                    ^^^^^^^ no `BoxMeUp` in `panic`

error: unwinding panics are not supported without std
  |
  = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
  = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem

Some errors have detailed explanations: E0432, E0557.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `psp` (lib) due to 3 previous errors
`cargo build` command exited with status: ExitStatus(ExitStatus(101))
PS C:\Users\conziebonzie\Desktop\psp>
sajattack commented 4 months ago

Your log shows you're using psp 0.2.2. We're currently on version 0.3.7

conzikool10 commented 4 months ago

I have downloaded it just today, do i change the requirement in my cargo.toml to psp 0.3.7?