Skip to content

Commit 1e1374a

Browse files
Use --all-targets in cargo check/clippy defaults
This includes examples.
1 parent 31ecd55 commit 1e1374a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ some toolchains when clippy isn't installed. If you have problems try
682682
it with `rustup component add --toolchain nightly clippy`.
683683

684684
You can change the parameters `rustic-default-clippy-arguments` that
685-
default to "--benches --tests --all-features".
685+
default to "--all-targets --all-features".
686686

687687
### auto-fixing before compilation
688688

rustic-cargo.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ instead of applying the default arguments from `rustic-default-test-arguments'."
121121
:type '(list string)
122122
:group 'rustic-cargo)
123123

124-
(defcustom rustic-cargo-check-arguments "--benches --tests --all-features"
124+
(defcustom rustic-cargo-check-arguments "--all-targets --all-features"
125125
"Default arguments when running `cargo check'."
126126
:type 'string
127127
:group 'rustic-cargo)

rustic-clippy.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:type 'string
1313
:group 'rustic-cargo)
1414

15-
(defcustom rustic-default-clippy-arguments "--benches --tests --all-features"
15+
(defcustom rustic-default-clippy-arguments "--all-targets --all-features"
1616
"Default arguments when running `clippy'."
1717
:type 'string
1818
:group 'rustic-cargo)

0 commit comments

Comments
 (0)