Clippy: Move lint configuration to lib.rs.

This commit is contained in:
Brian Smith 2023-10-13 14:22:08 -07:00
parent ff2cc71e94
commit bafde9dba7
2 changed files with 8 additions and 8 deletions

View File

@ -23,12 +23,4 @@ cargo clippy \
-- \
--deny missing_docs \
--deny warnings \
--allow clippy::collapsible_if \
--allow clippy::identity_op \
--allow clippy::len_without_is_empty \
--allow clippy::let_unit_value \
--allow clippy::new_without_default \
--allow clippy::neg_cmp_op_on_partial_ord \
--allow clippy::too_many_arguments \
--allow clippy::type_complexity \
$NULL

View File

@ -36,6 +36,14 @@
// When running mk/package.sh, don't actually build any code.
#![cfg(not(pregenerate_asm_only))]
#![allow(
clippy::collapsible_if,
clippy::identity_op,
clippy::len_without_is_empty,
clippy::let_unit_value,
clippy::new_without_default,
clippy::neg_cmp_op_on_partial_ord,
clippy::too_many_arguments,
clippy::type_complexity,
missing_copy_implementations,
missing_debug_implementations,
non_camel_case_types,