-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fix lints introduced by clippy 1.78 to 1.80 #188
Conversation
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.
@strohel the test script passes for me on my machine, but the error from yours is a bit scary! Does it pass for you on main
?
@bschwind yeah I also get it on main if I comment out I was on nightly, but I tried on rust 1.79 stable, and got the same error. Maybe this could be Linux-specific? @mbernat could you please try cloning the |
@strohel will do. Somehow I completely missed this notification, sorry! 🙇 |
I'm getting the same error, as expected.
|
Alright, I was able to debug the panic a bit more. The problem itself was a bug in rusb <= 0.9.3, fixed in rusb 0.9.4 in a1ien/rusb#195 But I was not getting the newer
The reason surfaced when I tried to force 0.9.3 by explicitly bumping the dependency:
-> the solution is to update libusb1-sys -> I'll file a separate PR. |
...which fixes a panic in dev builds / undefined behavior in release builds: a1ien/rusb#195 See #188 (comment) and above.
...which fixes a panic in dev builds / undefined behavior in release builds: a1ien/rusb#195 See #188 (comment) and above.
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.
LGTM! Thanks!
test_all.sh
is passed: Hmm, they don't. I'm getting:fix #{ISSUE_NUMBER}
if the corresponding issue exists.## Changelog
section. If the change is for only internal use, please writeNone
to the section.Changelog
None