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

Error in rustic-flycheck-setup: (user-error "flycheck-rust cannot find ‘cargo’. Please make sure that cargo is installed and on your PATH. #84

Open
freewebwithme opened this issue Jun 7, 2022 · 1 comment

Comments

@freewebwithme
Copy link

Hi I am using doom emacs and my configuration is simple

(rust +lsp) in init.el

(use-package! rustic)

that is it,
But i got an error
Error in rustic-flycheck-setup: (user-error "flycheck-rust cannot find ‘cargo’. Please make sure that cargo is installed and on your PATH.

how can I solve this problem?

@silentbicycle
Copy link

Confirm that the cargo executable is in the path -- emacs checks the directories in exec-path, which may differ from your normal shell $PATH, so it's possible you installed it but emacs isn't finding it.

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

2 participants