-
Notifications
You must be signed in to change notification settings - Fork 71
Ignore tests #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good find! Thank you. |
Question: Should there be a command line flag to include tests but keep it off by default? |
Unsafe in tests is irrelative to the crate itself. They will not be included into the parent crate. So I don't see a point in including them even as an option. |
Sounds reasonable to me 👍 |
A similar issue: https://github.com/anderejd/cargo-geiger/issues/12 |
Since #26 the counts for Since this commit: |
Commit: anderejd@cdccce6 adds default ignore filter for I think this issue can be closed now. Feel free to reopen if the solution is not good enough. |
Currently, the test code is also included, which is misleading.
For example, the
float-cmp
crate has only two unsafe expressions, but 32 are reported.The text was updated successfully, but these errors were encountered: