Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions rust-cargo.el
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ output buffer will be in comint mode, i.e. interactive."
(interactive)
(rust--compile nil "%s test %s" rust-cargo-bin rust-cargo-default-arguments))

(defun rust-test-output ()
"Test using `cargo test -- --show-output`"
(interactive)
(rust--compile nil "%s test -- --show-output %s" rust-cargo-bin rust-cargo-default-arguments))

(defun rust-run-clippy ()
"Run `cargo clippy'."
(interactive)
Expand Down