ci: Deny warnings - #347
Conversation
|
One for @IsaacWoods - I'm happy to deny all warnings, but ought to check with the boss... |
d4faf1a to
c624e72
Compare
|
It seems like all warnings are gone for now. Note that this will make CI fail whenever new lints are added to Rust or Clippy. I can completely understand if you prefer not dealing with that regularly. In that case, feel free to close this. :) |
|
Thanks for the PR @mkroening!
I'm in two minds on this - I do think there's value in us trying to keep the crate warning free, including ensuring new PRs are warning-free before merging, now that we're in this position (with thanks to you!). However, I think failing CI on warnings (given the above) is likely to just have us sit with broken If warnings creep back in without this, we could have another think, but for now I'll close this. Thanks :) |
build.warningsis stable since Rust 1.97.0 and allows controlling rustc and clippy warnings (previouslyRUSTFLAGS=-Dwarnings) as well as rustdoc warnings (previouslyRUSTDOCFLAGS=-Dwarnings) and the new Cargo warnings.Apparently CI has only failed on errors before, not on warnings.