Skip to content

Commit

Permalink
ci.sh: Get cargo clippy to work, workaround `clippy::too_long_first…
Browse files Browse the repository at this point in the history
…_doc_paragraph` errors
  • Loading branch information
j-devel committed Oct 18, 2024
1 parent 7880cd9 commit 7e9de3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion psa-crypto-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
)]
// This one is hard to avoid.
#![allow(clippy::multiple_crate_versions)]
#![allow(clippy::redundant_feature_names)]

//---- ^^
#[path = "minerva/config.rs"]
Expand Down
2 changes: 1 addition & 1 deletion psa-crypto-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
//! You can find the API
//! [here](https://developer.arm.com/architectures/security-architectures/platform-security-architecture/documentation).
#![cfg_attr(not(feature = "std"), no_std)]
// This one is hard to avoid.
#![allow(clippy::multiple_crate_versions)]
#![allow(clippy::missing_safety_doc)]
// Respect the C API case
#![allow(non_snake_case)]
#![allow(clippy::too_long_first_doc_paragraph)]

#[allow(
non_snake_case,
Expand Down
1 change: 1 addition & 0 deletions psa-crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
)]
// This one is hard to avoid.
#![allow(clippy::multiple_crate_versions)]
#![allow(clippy::too_long_first_doc_paragraph)]

#[cfg(feature = "operations")]
pub mod operations;
Expand Down

0 comments on commit 7e9de3b

Please sign in to comment.