Skip to content

Conversation

@ajakubowicz-canva
Copy link
Collaborator

@ajakubowicz-canva ajakubowicz-canva commented Jun 26, 2025

Context

This PR adds the Linebender clippy warnings to CI. Because CI doesn't block us it's ok to land. Ideally I'd like all the clippy lints to become errors and for us to burn down the clippy warnings.

I also deleted some embarrassing println! debug statements that I accidentally merged into main 🤦

Finally, I increased the scope of the fmt check to all packages.

Goal

In the longer term I think it's important we conform to clippy, if only because it'll catch issues.

As a random note, I couldn't use fearless_simd with vello using bytemuck version 1.23.1, due to conflicting dependencies in vello. Using 1.23.0 matches the version of bytemuck in vello.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sorry for landing this!

# For now, we only check `fearless_simd_gen`, since `fearless_simd` uses `prettyplease`.
- name: cargo fmt
run: cd fearless_simd_gen && cargo fmt --check
run: cargo fmt --check
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need to pass --all here or does it work just like that?


[workspace.lints]

# LINEBENDER LINT SET - Cargo.toml - v5
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure whether we really want all of those lints as some might become a bit annoying to deal with and unnecessary (see also currently failing CI) since we are dealing with code generation, but I'm okay with leaving it as is for now.

@ajakubowicz-canva ajakubowicz-canva merged commit 1c658f7 into main Jun 27, 2025
10 checks passed
@ajakubowicz-canva ajakubowicz-canva deleted the ajakubowicz-remove-embarassing-junk branch June 27, 2025 01:43
Sign up for free to 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.

3 participants