fix rustc detection

This commit is contained in:
chrunchyjesus 2019-04-25 18:31:42 +02:00
parent 237e14ae7b
commit feb78e8fa3
No known key found for this signature in database
GPG Key ID: 0C364160C9308A88

View File

@ -5,8 +5,8 @@
(featurep! :tools lsp)) (featurep! :tools lsp))
"This module requires (:tools lsp)") "This module requires (:tools lsp)")
(unless (executable-find "rust") (unless (executable-find "rustc")
(warn! "Couldn't find rust binary")) (warn! "Couldn't find rustc binary"))
(unless (executable-find "cargo") (unless (executable-find "cargo")
(warn! "Couldn't find cargo binary")) (warn! "Couldn't find cargo binary"))