Skip to content

Update to Rust 2024#72

Open
liuw wants to merge 2 commits intofirecracker-microvm:mainfrom
liuw:rust-2024
Open

Update to Rust 2024#72
liuw wants to merge 2 commits intofirecracker-microvm:mainfrom
liuw:rust-2024

Conversation

@liuw
Copy link

@liuw liuw commented Mar 12, 2026

Reason for This PR

Change the Rust edition from 2021 to 2024.

Description of Changes

Fix build issues and change the edition number.

The changes can be easily squashed into one patch if that's preferred.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license.

PR Checklist

[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]

  • All commits in this PR are signed (git commit -s).
  • The reason for this PR is clearly provided (issue no. or explanation).
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this PR.
  • Any newly added unsafe code is properly documented.
  • Any user-facing changes are mentioned in CHANGELOG.md.

liuw added 2 commits March 12, 2026 20:37
The code is still compatible with Rust 2021 after the changes.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
Signed-off-by: Wei Liu <liuwe@microsoft.com>
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.

1 participant