# HG changeset patch # User Raphaël Gomès # Date 1674668738 -3600 # Node ID 3c37cb7bce617e02b01cdcbdf664f0f1bd0aa0c0 # Parent 70b4c7af9cdb335a8093b516e12ae79df059c5fe clippy: actually fail if there are any warnings So far, only errors would trip the CI, this makes it so all warnings are elevated to errors, making it a CI fail if any warnings are present. This was the intended behavior, I just missed this when adding clippy. diff -r 70b4c7af9cdb -r 3c37cb7bce61 Makefile --- a/Makefile Wed Jan 25 18:44:09 2023 +0100 +++ b/Makefile Wed Jan 25 18:45:38 2023 +0100 @@ -158,7 +158,7 @@ cargo-clippy: cd $(HGROOT)/rust \ - && $(CARGO) clippy --all --features "$(HG_RUST_FEATURES)" + && $(CARGO) clippy --all --features "$(HG_RUST_FEATURES)" -- -D warnings check-code: hg manifest | xargs python contrib/check-code.py