overdrivenpotato / rust-psp

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

Fix #135 #136

Closed sajattack closed 1 year ago

sajattack commented 1 year ago

Untested so far.

Fixes #135

@diamant3, can you see if this resolves your issue?

diamant3 commented 1 year ago

Thank you, I will test it now!

zetanumbers commented 1 year ago

This shouldn't work

diamant3 commented 1 year ago

there is another issue :(

is this command correct, i tried cargo update but the error is the same or did i something wrong?

cargo.toml

[package]
name = "psp-controller"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
psp = { git = "https://github.com/overdrivenpotato/rust-psp", branch = "sajattack-patch-1" }

error:

PS C:\Users\diamant3\Desktop\psp-controller> cargo add --git "https://github.com/overdrivenpotato/rust-psp" --branch "sajattack-patch-1"
    Updating git repository `https://github.com/overdrivenpotato/rust-psp`
    Updating git submodule `https://github.com/rust-lang/llvm-project.git`
        Fetch [===============>         ]  67.04%, (1678065/2813094) resolving deltas   error: failed to update submodule `libunwind/rustc`

Caused by:
  failed to update submodule `src/llvm-project`

Caused by:
  path too long: 'C:/Users/diamant3/.cargo/git/checkouts/rust-psp-0c4563c29347f835/e11e156/libunwind/rustc/src/llvm-project/libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/explicit_operator_element_type_ptr.pass.cpp'; class=Filesystem (30)
zetanumbers commented 1 year ago

Try running this command in powershell with elevated privileges: https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#tabpanel_1_powershell

@diamant3

diamant3 commented 1 year ago

thanks! @ZetaNumbers unfortunately it didn't fix

the LongPathsEnabled is set to 1 but the issue is the same

Screenshot 2022-07-30 193430