add CLIPPY_OPTIONS
@@ -78,6 +78,8 @@ veracruz-test: test-dependencies
$(RUNTIME_ENCLAVE_BINARY_PATH):
$(MAKE) -C ../linux-runtime linux
+CLIPPY_OPTIONS = --no-deps -A clippy::type_complexity -A clippy::module_inception
+
clippy: $(RUNTIME_ENCLAVE_BINARY_PATH)
# workspace members and relevant dependencies
RUNTIME_ENCLAVE_BINARY_PATH=$(RUNTIME_ENCLAVE_BINARY_PATH) \
@@ -92,14 +94,14 @@ clippy: $(RUNTIME_ENCLAVE_BINARY_PATH)
--features io-utils/linux \
--features psa-attestation/linux \
--features veracruz-utils/linux \
- -- --no-deps
+ -- $(CLIPPY_OPTIONS)
# workspace testing crates
RUNTIME_ENCLAVE_BINARY_PATH=$(RUNTIME_ENCLAVE_BINARY_PATH) $(CC) $(TEST_PARAMETERS) \
cargo clippy --tests \
$(PROFILE_FLAG) -p veracruz-test -p veracruz-server-test \
--features veracruz-test/linux \
--features veracruz-server-test/linux \
- -- --no-deps
+ -- $(CLIPPY_OPTIONS)
doc:
cargo doc
