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

   This PR enforces `cargo fmt` and `cargo clippy` for all CAs and TAs in 
`examples/` and `projects/`.
   
   - The `-D warnings` is added to clippy commands to treat `Rust compiler 
warnings` and `all default clippy errors` as build failures for **example 
code**, while dependencies such as `optee-*` crates and `std lib` continue to 
show warnings without blocking the build.
   
   - Fixes clippy errors in all CAs ad TAs, such as `needless_borrow`, 
`needless_return`, `needless_range_loop`, `never_loop`, `unused_imports`, and 
so on.
   
   Future Plan
   - Enable clippy checks of building `optee-*` crates in CI and fix clippy 
errors;
   - Add `-D clippy::unwrap_used` enforcement and eliminate all `unwrap()` 
calls, especially in TAs which should never panic.


-- 
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