From feb78e8fa3558c91c808adcb0edf83f77785c8b8 Mon Sep 17 00:00:00 2001 From: chrunchyjesus Date: Thu, 25 Apr 2019 18:31:42 +0200 Subject: [PATCH] fix rustc detection --- modules/lang/rust/doctor.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lang/rust/doctor.el b/modules/lang/rust/doctor.el index a102042da..e68ab1f6e 100644 --- a/modules/lang/rust/doctor.el +++ b/modules/lang/rust/doctor.el @@ -5,8 +5,8 @@ (featurep! :tools lsp)) "This module requires (:tools lsp)") -(unless (executable-find "rust") - (warn! "Couldn't find rust binary")) +(unless (executable-find "rustc") + (warn! "Couldn't find rustc binary")) (unless (executable-find "cargo") (warn! "Couldn't find cargo binary"))