-
Notifications
You must be signed in to change notification settings - Fork 20
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
Stale code #220
Comments
@pzmarzly : Thanks for putting this analysis. I just looked at About the stale files you mentioned, you can remove everything besides stverify.rs, which is an actual binary. I wonder why it was detected as unused, but stctrl.rs wasn't. EDIT: I know why. Because stctrl/Cargo.toml contains: [lib]
name = "stctrl"
path = "src/lib.rs"
[[bin]]
name = "stctrl"
path = "src/bin/stctrl.rs" But stverify.rs is not included as a binary. Could you add it? |
|
I pushed into #215 , as some changes were already done there ( |
After stumbling upon unlinked file during development in #215 , I created a script to find other unlinked files. Here are the results for current master:
freeze_guard_legacy.rs
will be removed once #215 is merged. Please decide what to do with other files. I think it would be nice to have similar analysis for unused functions, but existing utilities (like warnalyzer) are not ready for codebases as large as offst yet.The text was updated successfully, but these errors were encountered: