DemesneGH opened a new pull request, #235:
URL: https://github.com/apache/teaclave-trustzone-sdk/pull/235

   This PR enables default Clippy and Rust compiler checks `cargo clippy -- -D 
warnings` for `optee-utee` and `optee-teec` in our CI.
   
   It also fixes Clippy-reported issues, including `match-like-matches-macro`, 
`needless-borrowed-reference`, `not-unsafe-ptr-arg-deref`, `needless_return`, 
`unnecessary_cast`, and so on.
   
   Some `#[allow(...)]` attributes are retained:
   - `#[allow(non_camel_case_types)]` in `optee-*-sys`, which defines raw C 
structures.
   - `#[allow(non_snake_case)]` in `optee-utee-mock`.
   
   -------
   #### Clippy Enforcement Plan
   
   - [DONE] All examples: enable default Clippy + compiler checks 
([https://github.com/apache/teaclave-trustzone-sdk/pull/224](https://github.com/apache/teaclave-trustzone-sdk/pull/224)).
   - [DONE] All examples: enable advanced panic checks 
(https://github.com/apache/teaclave-trustzone-sdk/pull/229).
   - [WIP] optee-* crates: enable default Clippy checks.
     - [DONE] add `std` feature in optee-utee 
(https://github.com/apache/teaclave-trustzone-sdk/pull/232)
     - fix other clippy errors in optee-* (this PR)
   - [ADVANCED] optee-* crates: enable advanced Clippy checks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to