Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upforce full re-clippy #2604
Comments
This comment has been minimized.
This comment has been minimized.
|
I usually work around this by runnning something like |
mikerite
referenced this issue
Apr 1, 2018
Merged
Make dogfood test output to seperate directory #2605
phansch
added
the
L-bug 🐞
label
Apr 1, 2018
phansch
referenced this issue
May 15, 2018
Closed
Use clippy twice does not produce any warning #2762
This comment has been minimized.
This comment has been minimized.
|
can you try with clippy 0.0.203? I included a possible fix there |
This comment has been minimized.
This comment has been minimized.
CyrilCalmels
commented
May 20, 2018
•
|
I still have the issue with clippy 0.0.203 |
This comment has been minimized.
This comment has been minimized.
baumanj
commented
May 25, 2018
|
Also seeing this with v0.0.204 |
This comment has been minimized.
This comment has been minimized.
|
cc @alexcrichton is there any way we can get a mode to cargo check that always rebuilds the toplevel crate (i.e. the root, or if running -p, that crate). Preferably not clobbering artefacts unless they need to be. |
This comment has been minimized.
This comment has been minimized.
|
@killercup is fixing the same bug that |
This comment has been minimized.
This comment has been minimized.
|
Memo to self (and promise to clippy maintainers) to actually expose this
somehow to non-cargo consumers!
…On Wed, 25 Jul 2018, 07:55 Dale Wijnand, ***@***.***> wrote:
@killercup <https://github.com/killercup> is fixing the same bug that cargo
fix has over in rust-lang/cargo#5750
<rust-lang/cargo#5750>, which I'm hopeful will
make fixing this much easier.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2604 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOXw4Lf8MmMPJ4yUwEYQs4DVlt7yRfks5uKAhTgaJpZM4TCq2v>
.
|
This comment has been minimized.
This comment has been minimized.
|
rust-lang/cargo#5944 was merged, which is a rebase of killercup's work. I'd be open to working on a fix for this, if there is anyone who can provide guidance on what is needed from the clippy side? |
This comment has been minimized.
This comment has been minimized.
|
If the cargo folks agree, perhaps we could have commandline arg in cargo which forces the package to be rebuilt. (cargo check -f / --force or something like that). We would somehow need to make sure it only forces recheck of the crates in the current workspace and not all dependencies as well, not sure what is the best way to do this though.. :/ |
grovesNL
referenced this issue
Nov 11, 2018
Closed
Associated constants don't take the prefix into account properly #238
dwijnand
referenced this issue
Dec 17, 2018
Open
Cargo clean --package doesn't clean all targets if package defines features #5375
mythmon
referenced this issue
Dec 17, 2018
Merged
Don't run rust check in CI, so that clippy actually works #16
This comment has been minimized.
This comment has been minimized.
BatmanAoD
commented
Feb 14, 2019
|
Even something as simple as detecting that no work has been done and outputting a warning suggesting the user I believe the ideal solution is a diagnostic-caching mechanism, but currently users have no indication that |
This comment has been minimized.
This comment has been minimized.
|
I just submitted rust-lang/cargo#6664 to cargo to force |
This comment has been minimized.
This comment has been minimized.
|
It seems rust-lang/cargo#6664 is close to getting merged. It would be helpful if someone familiar with how clippy integrates with cargo could check in and confirm this would solve the clippy use case. |
This comment has been minimized.
This comment has been minimized.
|
Yes, but we may need to pass a flag down |
This comment has been minimized.
This comment has been minimized.
crlf0710
commented
Feb 23, 2019
•
|
Encountered this problem - when i run clippy twice with different parameters, the program didn't get rebuilt, so i got no output. |
davemilter commentedApr 1, 2018
I build clippy from git sources (4ef7238).
This is re-open of #2498 as @oli-obk suggested.
And actully nothing changes because of #2582 , and why it should?
Sample code:
As you use the second run of
clippygives nothing, andcargo clippy --helphave no options to force rerun.