Skip to content

Commit 9f61b40

Browse files
committed
Tell call-process to discard stderr
We should not attempt to parse warnings or errors from cargo as JSON. Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 75c4e03 commit 9f61b40

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
@@ -94,7 +94,7 @@ more information on setting your PATH with Emacs."))
9494
;; targets. We concatenate all targets, regardless of the package.
9595
(-when-let (packages (let-alist
9696
(with-temp-buffer
97-
(call-process cargo nil t nil
97+
(call-process cargo nil '(t nil) nil
9898
"metadata" "--no-deps"
9999
"--manifest-path" manifest
100100
"--format-version" "1")

0 commit comments

Comments
 (0)