-
Notifications
You must be signed in to change notification settings - Fork 67
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
cargo geiger --help
may need some work
#18
Comments
Thanks for the report, that looks rather sloppy :D Description fixed by: anderejd@99382eb
This functionality is always on in 0.3.0, sorry for the confusion. Every metric is now printed with two numbers divided by a slash, eg. 123/124, that means that 123 samples of that unsafe metric was used by the build and there are 124 samples total in that crate. Does that make sense? |
Reddit post called that feature experimental, so I expected an opt-in. And I see And
Now I see, it's documented. |
Thanks for this feedback, communication is hard :) I just edited the reddit post to clarify that I consider the entire tool as an experiment, not just the new feature.
There are known issues with false positives (I suppose I should add that to the Known issues list). For example test functions are still included unless they are located in an Related to: https://github.com/anderejd/cargo-geiger/issues/3
This is unexpected, I just did a quick eyeball based check and it contains plenty of unsafe, as expected. I tried
Are you getting There are at this time known issues / limitations for macro and build.rs generated unsafe code. See Known Issues in the README.md. https://github.com/anderejd/cargo-geiger#known-issues Related to: https://github.com/anderejd/cargo-geiger/issues/7 |
Closing this since the structopt description is fixed in master and the rest is addressed in issue #22 |
The description should be updated.
Also where is the option advertised on Reddit to filter out unused unsafes?
The text was updated successfully, but these errors were encountered: