-
Notifications
You must be signed in to change notification settings - Fork 647
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
Resolve cargo check
errors in benchmarks
#3585
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3585 +/- ##
==========================================
- Coverage 31.16% 26.14% -5.03%
==========================================
Files 297 297
Lines 274478 274476 -2
==========================================
- Hits 85540 71753 -13787
- Misses 188938 202723 +13785
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I'd be in favor of deleting any that don't compile, though I know that may be controversial. The git history will keep that "deleted" data, so I'm not worried about data loss, and these files are not documentation, so I'm also not worried about breaking any internal links. |
cargo check
errorscargo check
errors in benchmarks
My first thought was to delete this but wanted to first propose a less aggressive approach. @igorsyl would you be against deleting it? |
Not at all. Like @kantai pointed out, git doesn't forget. |
Okay, I removed benchmark files and this can now be reviewed. |
Consensus is that it's fine to nuke this code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not authorized to merge this one, @igorsyl who usually does that? |
Description
Prior to this PR we had 50-60 errors in the codebase mainly situated in the
bench/
directory. They haven't been updated for a year or two. Deleting them doesn't seem like a good solution as we might want to use them in the future. Also, bringing them up to date seems like it wouldn't be a quick task.For now, I've excluded them from the compilation by doing these two things:
*.rs.backup
[[bench]]
entries fromCargo.toml
Unrelated, but I've also removed two unused variables so we end up with no errors.
Applicable issues