Skip to content
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

Fix clippy warnings and enforce -Dwarnings #224

Merged
merged 10 commits into from
Aug 11, 2023
Merged

Conversation

jamesmunns
Copy link
Contributor

@jamesmunns jamesmunns commented Aug 10, 2023

This PR fixes existing clippy warnings and adds -Dwarnings to the clippy invocations
of the justfile. I used the CLI args rather than RUSTFLAGS as there can be some issues
with overriding other rustflags used.

See rust-lang/cargo#8424 for more context re: rustflags issues

@jamesmunns jamesmunns added the area: tools & build Related to host developer tools, including tracing, Crowtty and build processes label Aug 10, 2023
justfile Outdated Show resolved Hide resolved
@jamesmunns jamesmunns requested a review from hawkw August 10, 2023 17:09
@jamesmunns
Copy link
Contributor Author

8eebf74 failing is actually a nice check that -Dwarnings works :D

@hawkw
Copy link
Contributor

hawkw commented Aug 11, 2023

@jamesmunns i wanna give this one a quick review if you don't mind, because i have some thoughts re: the justfile changes.

Copy link
Contributor

@hawkw hawkw left a comment

Choose a reason for hiding this comment

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

looks good to me modulo my note about just --list

justfile Show resolved Hide resolved
justfile Outdated Show resolved Hide resolved
platforms/esp32c3-buddy/src/heap.rs Outdated Show resolved Hide resolved
platforms/x86_64/core/src/interrupt.rs Outdated Show resolved Hide resolved
@jamesmunns jamesmunns merged commit ba471c8 into main Aug 11, 2023
6 checks passed
@jamesmunns jamesmunns deleted the james/enforce-clippy branch August 11, 2023 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tools & build Related to host developer tools, including tracing, Crowtty and build processes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants