Skip to content

Conversation

@f0rki
Copy link
Contributor

@f0rki f0rki commented Jun 1, 2023

  • Run clippy in CI
    • Require SAFETY documents in front of every unsafe block.
    • Set MSRV version in clippy.toml to avoid lints that break the MSRV
  • Several fixes to make clippy happy
    • Ran cargo clippy --fix
    • Added some clippy exceptions
    • Added many SAFETY comments to unsafe blocks
  • Tested MIRAI static analyzer to find "unintentional panics"
    • added some debug-build overflow checks to satsify MIRAI
    • Currently, installing MIRAI takes way too long in CI so it is
      disabled for now. Need to find a way to cache this (maybe a custom github action or docker container).

* Run clippy in CI
    - Require SAFETY documents in front of every unsafe block.
    - Set MSRV version in clippy.toml to avoid lints that break the MSRV
* Several fixes to make clippy happy
    - Ran cargo clippy --fix
    - Added some clippy exceptions
    - Added many SAFETY comments to unsafe blocks
* Tested MIRAI static analyzer to find "unintentional panics"
    - added some debug-build overflow checks to satsify MIRAI
    - Currently, installing MIRAI takes way too long in CI so it is
      disabled for now. Need to find a way to cache this.

Signed-off-by: Michael Rodler <[email protected]>
@seanmonstar seanmonstar merged commit 6b5d4d9 into seanmonstar:master Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants