-
Notifications
You must be signed in to change notification settings - Fork 747
Update rust-toolchain to nightly of 2023-07-30 #3582
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
Update rust-toolchain to nightly of 2023-07-30 #3582
Conversation
@@ -292,7 +292,7 @@ impl<'a, Can: can::Can> SyscallDriver for CanCapsule<'a, Can> { | |||
7 => { | |||
self.can_rx | |||
.take() | |||
.map(|dest_buffer| { | |||
.map_or(CommandReturn::failure(ErrorCode::NOMEM), |dest_buffer| { |
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.
Not that I think there's anything wrong with this, but what triggered this change?
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.
Clippy, trying to make our code more idiomatic. This was a hard-error in CI. I'm not neither happy about nor opposed to it complaining here.
Marking as blocked until I figure the cargo warning out. |
This version and the time to update is chosen somewhat arbitrarily, as libtock-rs fails to build elf2tab on its current Rust toolchain (2022-06-10). This triggered me to update them in tandem to a recent Rust nightly.
f04d0c0
f0fdd9d
to
f04d0c0
Compare
Figured out the |
Pull Request Overview
This version and the time to update is chosen somewhat arbitrarily, as libtock-rs fails to build elf2tab on its current Rust toolchain (2022-06-10). That triggered me to update them in tandem to a recent Rust nightly.
Fixes some new clippy warnings / errors, such as:
and
Testing Strategy
This pull request was tested by CI.
TODO or Help Wanted
This introduces a warning in the license-checker stage of themake prepush
command:Figured it out, updated
workspace.resolver = "2"
in thetools/Cargo.toml
workspace.Documentation Updated
Updated the relevant files inno updates are required./docs
, orFormatting
make prepush
.