# HG changeset patch # User Raphaël Gomès # Date 2023-01-25 17:45:38 # 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 --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -158,7 +158,7 @@ rust-tests: 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