Skip to content

Prepare to split clippy_lints #14684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

Jarcho
Copy link
Contributor

@Jarcho Jarcho commented Apr 24, 2025

Based on #14633

The end goal here is to split clippy_lints into several independent crates and have the driver call out to each of them to register lints. clippy_lints takes way too long to compile right now.

r? @flip1995

changelog: none

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 24, 2025
@flip1995
Copy link
Member

Thanks for assigning me to those PRs and requesting my review! However, I can't keep up with my reviews. I suggest Alex as the main reviewer, maybe with the help of Samuel.

I fully trust you that you'll improve our tooling here!

If you really want my review, just keep me assigned and I'll see what I can do this weekend. Otherwise, feel free to re-assign those PRs to Alex and/or Samuel.

(applies to all clippy_dev PRs currently open, just commenting once here)

@Jarcho
Copy link
Contributor Author

Jarcho commented Apr 24, 2025

I only assigned you to this one since splitting will (maybe) affect the sync in an annoying way.

edit: Just rerolled the others.

@Jarcho Jarcho added the S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work label Apr 24, 2025
Copy link
Member

@flip1995 flip1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clarifying! Please also ping me on the PR that does the actual split.

This LGTM. AFAICT, CI failures are due to a different PR.

Just a NIT. Feel free to merge, once the others of the stack got merged :shipit:

}
}

fn crate_root_path(self) -> &'static str {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Maybe a better name crate_lib_path or even more explicit crate_lib_rs_path.

No strong opinion here though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave this for when I end up having to rebase. Hopefully I don't forget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants