Error in rustic-flycheck-setup: (user-error "flycheck-rust cannot find ‘cargo’. Please make sure that cargo is installed and on your PATH.
freewebwithme opened this issue · comments
TAE HWAN KIM commented
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?
Scott Vokes commented
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.