Closed velllu closed 7 months ago
The cause is that the build script can’t find dkp-pacman
(or normal pacman
). If you have installed devkitPro’s toolchain correctly, you might have encountered the same issue as #154, though only a warning should’ve been emitted.
It seems you also run NixOS, do you have the same setup as that other user?
The cause is that the build script can’t find
dkp-pacman
(or normalpacman
). If you have installed devkitPro’s toolchain correctly, you might have encountered the same issue as #154, though only a warning should’ve been emitted.It seems you also run NixOS, do you have the same setup as that other user?
Why can it build my project just fine but it breaks the lsp? shouldn't build.rs
run in both cases? But yeah, i don't have pacman installed
Try running the lsp with the configuration at https://github.com/rust3ds/ctru-rs/wiki/Guides#setting-up-rust-analyzer (you don’t need the env vars if they are already properly set). It might be an issue with the target/clippy.
Edit: ehm, it seems I had read your error message incorrectly. The error looks to be that it doesn’t recognise the -m64
option. Are you sure that the arm-none-eabi-gcc
in scope is the devkitARM one? It might give some issues if you are already working with other ARM toolchains.
Try running the lsp with the configuration at https://github.com/rust3ds/ctru-rs/wiki/Guides#setting-up-rust-analyzer (you don’t need the env vars if they are already properly set). It might be an issue with the target/clippy.
Edit: ehm, it seems I had read your error message incorrectly. The error looks to be that it doesn’t recognise the
-m64
option. Are you sure that thearm-none-eabi-gcc
in scope is the devkitARM one? It might give some issues if you are already working with other ARM toolchains.
I am sure that i'm using the devkitARM one, and i dont have any other arm toolchains installed
nevermind, i followed the link you sent, removed the alteady set extra vars, and it worked
The lsp server crashes when i try to open a ctru-rs project, I'm using the nightly toolchain, here's the logs: