Skip to content

Conversation

MisterSirCode
Copy link

Refer to #2873 (comment) and my issue #20616

This change adds documentation to the troubleshooting FAQ for any future users experiencing cargo file resolving errors with rust-analyzer due to their IDE lacking permission to see the cargo binaries.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 5, 2025
@MisterSirCode
Copy link
Author

MisterSirCode commented Sep 5, 2025

Documentation moved to the vs-code page

Feel free to edit any wording or detail improvements that should be made

@lnicola
Copy link
Member

lnicola commented Sep 8, 2025

Wait, isn't this the same as the suggestion right above?

If you want to use Flatpak in combination with rustup, the following steps might help:

  • using Flatseal, you must add an environment variable called PATH. Set its value to the output from above, appending :~/.cargo/bin, where ~ is the path to your home directory. You must replace ~, as it won’t be expanded otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants