-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Use -D warnings in all relevant CI #17011
Use -D warnings in all relevant CI #17011
Conversation
I broadly agree with this: deny warnings is the standard practice for Rust + Bevy, and blocking CI is the best way to ensure that these are fixed and stay fixed. |
An alternative direction that we could take is to deny warnings in CI except for unused imports, variables, and muts. This might help keep verbosity down while still catching important lints. If we do that though, I would expect all the cfg stuff to be removed in all existing places we already do do that. I don't like this though because I don't want irrelevant warnings when developing locally and there isn't enough granularity with allowing warnings in unchanged code. |
Agreed. Half of the reason why these lints exist are to provide a better local development experience. |
OK to add |
I can do that |
8b1a55e
to
5b19b49
Compare
Small follow-up to #17011 Please don't merge until the CI passes all checks
# Objective I missed a couple checks in #17011 ## Solution Add env ## Testing CI
# Objective Fixes bevyengine#17009 See: https://doc.rust-lang.org/stable/clippy/continuous_integration/index.html ## Solution Add the env ## Testing CI should start to fail, then I'll fix it. ## Showcase ![image](https://github.com/user-attachments/assets/acd2888f-9fc0-445a-a96a-842ba9f1c6aa)
Small follow-up to bevyengine#17011 Please don't merge until the CI passes all checks
Objective
Fixes #17009
See: https://doc.rust-lang.org/stable/clippy/continuous_integration/index.html
Solution
Add the env
Testing
CI should start to fail, then I'll fix it.
Showcase