13 Commits

Author SHA1 Message Date
Brian Smith
3eb07737f1 build.rs: Address clippy::ptr_arg. 2023-10-13 15:03:55 -07:00
Brian Smith
64cd0b997e Remove target-dir workaround for Clippy cache issues.
For a long while this hasn't been needed. See
https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-152
2023-10-13 15:03:31 -07:00
Brian Smith
9098bd6e30 Address latest clippy warnings. 2022-10-19 23:49:17 -07:00
Brian Smith
431069e97f CI: Fix ---all-targets typo in clippy invocation. 2022-04-07 17:40:03 -07:00
Brian Smith
609a0f809a Address clippy::len_zero. 2021-05-11 18:34:48 -07:00
Brian Smith
b86067da4e Address clippy::vec_init_then_push. 2021-05-11 18:34:48 -07:00
Brian Smith
38cb28332b PBKDF2: Avoid slice indexing. 2021-05-11 16:47:23 -07:00
Brian Smith
ee7f888940 Address clippy::redundant_slicing warnings. 2021-05-11 16:47:23 -07:00
Brian Smith
a839093b51 Enable clippy::from_over_into lint. 2021-05-11 15:57:51 -07:00
Brian Smith
b4600fa244 Sync mk/clippy.sh with webpki. 2021-05-11 15:57:51 -07:00
Brian Smith
4f30438640 CI/CD: Fix error handling in mk/clippy.sh.
`cargo clippy` failed with an error but this didn't cause mk/cargo.sh
to fail because it didn't contain `set -e`. Thus the `clippy` job has
been passing when it shouldn't.

Add the "bash strict mode" to the script.

I verified the other shell scripts use the "bash strict mode" already.
2021-04-29 16:07:38 -07:00
Brian Smith
d62da4ecbe Move disabling of clippy lints to mk/clippy.sh. 2021-04-20 13:31:22 -07:00
Brian Smith
0141c08d96 CI/CD: Suppress new clippy lints. 2021-04-20 13:31:06 -07:00