Closed
Description
I want run clippy
on my CI server and get every time all warnings,
not only in changed projects.
Also I want to cache "target" directory between run of cargo build
,
because of compilation too slow.
But I don't see how it possible with current clippy:
$ cargo +nightly clippy
warning:
warning:
warning:
$ cargo +nightly clippy
$ lib: foo
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
test: test_foo
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
as you see the second run of clippy
gives nothing,
And there is no option like --force
, as workaround I use find . -name "*.rs" -exec touch {} \;
,
it is better then remove target
or cargo clean
, but still cause also rebuild of crate in the next cargo +nigtly test
Metadata
Metadata
Assignees
Labels
No labels