Variable: rust-ts-flymake-command
rust-ts-flymake-command is a customizable variable defined in
rust-ts-mode.el.gz.
Value
("clippy-driver" "-")
Documentation
The external tool that will be used to perform the check.
This is a non-empty list of strings: the checker tool possibly followed by required arguments. Once launched it will receive the Rust source to be checked as its standard input.
This variable was added, or its default value changed, in Emacs 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/rust-ts-mode.el.gz
(defcustom rust-ts-flymake-command '("clippy-driver" "-")
"The external tool that will be used to perform the check.
This is a non-empty list of strings: the checker tool possibly followed
by required arguments. Once launched it will receive the Rust source
to be checked as its standard input."
:version "30.1"
:type '(choice (const :tag "Clippy standalone" ("clippy-driver" "-"))
;; TODO: Maybe add diagnostics filtering by file name,
;; to limit non-project list to the current buffer.
;; Or annotate them with file names, at least.
(const :tag "Clippy cargo" ("cargo" "clippy"))
(repeat :tag "Custom command" string))
:group 'rust)