Skip to content
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

[rust] update clap, object, zerocopy #25912

Merged
merged 3 commits into from
Jan 18, 2025
Merged

[rust] update clap, object, zerocopy #25912

merged 3 commits into from
Jan 18, 2025

Conversation

nbdd0121
Copy link
Contributor

Now we've updated past Rust 1.74, we can unpin clap and update object. object has a trait lifetime update which requires minor adjustment.

zerocopy underwent a major update:

  • AsBytes is renamed to IntoBytes
  • .as_bytes() now require Immutable
  • FromBytes now imply FromZeroes and doesn't need explicit derive
  • method renames

Now we've updated past Rust 1.74, we can unpin clap versions.

Signed-off-by: Gary Guo <[email protected]>
Notable changes:
* `AsBytes` is renamed to `IntoBytes`
* `.as_bytes()` now require `Immutable`
* `FromBytes` now imply `FromZeroes` and doesn't need explicit derive
* method renames

Signed-off-by: Gary Guo <[email protected]>
@nbdd0121 nbdd0121 requested a review from a team as a code owner January 16, 2025 17:37
@nbdd0121 nbdd0121 requested review from jon-flatley, cfrantz and jwnrt and removed request for a team January 16, 2025 17:37
@nbdd0121 nbdd0121 added the CI:Rerun Rerun failed CI jobs label Jan 18, 2025
@github-actions github-actions bot removed the CI:Rerun Rerun failed CI jobs label Jan 18, 2025
@nbdd0121 nbdd0121 merged commit 673c41f into lowRISC:master Jan 18, 2025
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants