Skip to content

ci: enable clippy for more crates - #329

Merged
Firestar99 merged 4 commits into
mainfrom
clippy-crates
Jul 11, 2025
Merged

ci: enable clippy for more crates#329
Firestar99 merged 4 commits into
mainfrom
clippy-crates

Conversation

@Firestar99

Copy link
Copy Markdown
Member

clippy doesn't run on eg. compiletest and difftest and there's some code it's complaining about

@Firestar99
Firestar99 marked this pull request as ready for review July 11, 2025 09:56
@Firestar99
Firestar99 enabled auto-merge July 11, 2025 09:57

@eddybeddyb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmpf, unfortunate that we can't pass the features somehow, to a single cargo clippy --workspace invocation.

Alternatively, it might be nice to not have SPIRV-Tools' C++ code be compiled by spirv-tools-rs when built for cargo check/cargo clippy, but I don't recall if that's even feasible to do.

@Firestar99
Firestar99 added this pull request to the merge queueJul 11, 2025
@Firestar99

Copy link
Copy Markdown
MemberAuthor

I mean, you should be able to detect clippy in the build script and return. Currently, using cargo-gpu in a build script will fail cargo clippy on your project, so there really should be a way 😅

Merged via the queue into main with commit 9cb358cJul 11, 2025
13 checks passed
@Firestar99
Firestar99 deleted the clippy-crates branch July 11, 2025 10:19
@Firestar99Firestar99 mentioned this pull request Jul 11, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Firestar99@eddyb