Skip to content

Commit 737ca5f

Browse files
authored
Merge pull request #37 from bjpbakker/support-sandboxes
Support non-standard executable-find for sandboxes
2 parents 1fe922d + d5d865f commit 737ca5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flycheck-rust.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ name)."
114114
(let ((json-array-type 'list))
115115
(-let [(&alist 'targets targets)
116116
(with-temp-buffer
117-
(call-process "cargo" nil t nil "read-manifest")
117+
(call-process (funcall flycheck-executable-find "cargo") nil t nil "read-manifest")
118118
(goto-char (point-min))
119119
(json-read))]
120120
;; If there is a target that matches the file-name exactly, pick that

0 commit comments

Comments
 (0)