`x clippy` on library/ crates is finicky
Open
Nobody has claimed this yet.
A-contributor-roadblock
C-bug
needs-triage
T-bootstrap
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
This is a bit terse atm but I've been using clippy to lint the standard library a fair bit and wanted to make sure there's a record of the issues I've encountered. I'll try to update this as I learn more or issues are fixed.
- If you do
x clippy stdthen it will block on any failing clippy lints on core (or other dependencies of std) --fixsometimes works but other times will complain about missing std. I'm not sure what causes this as it only happens sometimes. Running clippy without--fixappears to make--fixwork again (or maybe it's a coincidence).- There isn't a way to cross-check other platforms (conversely
x checkis able to cross-check but doesn't check tests) - I don't think there's a good way to check only CI lints for specific crates? There's
x clippy CIbut that checks everything. There is also--ci truebut that implies a lot of other things which may not be appropriate for local dev.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the listed x clippy std, --fix, cross-platform, and CI-lint scenarios, comparing them with x check. Then inspect the x clippy and x check entry points to separate confirmed bugs from the reported coincidence; done means the selected behavior is reproducible and its intended workflow is validated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100