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

Wrong rustc if rust is installed in both for rustup and from the package manager on linux #14

Open
Roger opened this issue Nov 13, 2022 · 0 comments

Comments

@Roger
Copy link

Roger commented Nov 13, 2022

The rust plugin tries to use rustc installed from the package manager, instead of the one from rustup. I noticed this because on the system's one I didn't have rust-src installed and rust-analyzer was complaining about that.

I can confirm that the rustup version is the active one, by running rustc --print sysroot from the same shell that I launched the lapce.

In any other editor I don't face this issue using rust-analyzer (ie. kakoune/helix).

OS: Archlinux
Lapce version: 0.2.3
Lapce-rust version: 0.2.3

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