-
Notifications
You must be signed in to change notification settings - Fork 732
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
feat: remove zeroed vector by pushing front #3227
feat: remove zeroed vector by pushing front #3227
Conversation
Pull Request Test Coverage Report for Build 10559092245Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
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.
The CI fail is because the vec!
macro is now only used in the #[test]
module and the unused lint does not look in test. If you change line 21 from #[macro_use]
to #[cfg_attr(test, macro_use)]
it should fix the issue.
Nice! @jamillambert I think |
@jamillambert debugging PRs like a boss, way to go bro, this is super useful. |
Thanks for the reviews! I've added |
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.
ACK 441aac0 successfully ran local tests
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.
ACK 441aac0
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.
Needs squashing. I have no idea how @apoelstra got to run his per-commit tests without catching this.
Which commit and cargo command fails? I can run My local tests do a more extensive feature matrix (IIRC it tries each individual feature by itself, and also two random subsets of features, where "random" is seeded by the commit ID or something) but it may have missed something. |
Oh, it's actually warnings, not errors. If you used |
I've had it on in the past but I've always felt bad nitting new contributors because individual commits don't pass a super strict level of scrutiny, which wouldn't be needed just for bisection to work.. For a similar reason I only run clippy on the final commit of PRs. (Though there I run it with It also worses the "sometimes you need to squash unrelated stuff together to make the compiler happy" problem that we sometimes encounter in Rust (and which we did encounter in the final commit of this PR.) So my ACK stands. |
Yeah, I thought so. Might be worth to run only some very limited categories of |
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.
ACK 441aac0
Remove useless zeroed vector following #3131.