Skip to content

Misc janitorial revamps #852

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

Merged
merged 27 commits into from
Jul 18, 2025
Merged

Conversation

epilys
Copy link
Member

@epilys epilys commented Jul 9, 2025

Summary of the PR

I noticed a few inconsistencies on our Rust editions, duplication of rustfmt.toml, and some new clippy lint warnings with 1.88. Most of the commits are mechanical changes with rustfmt/clippy --fix.

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

epilys added 4 commits July 9, 2025 10:56
Bump to 2021 edition, and fix new warning lints while at it to keep CI
green.

Signed-off-by: Manos Pitsidianakis <[email protected]>
vhost-device-gpu is 2021 edition; bump the rustfmt.toml setting to match
it.

Signed-off-by: Manos Pitsidianakis <[email protected]>
vhost-device-console is 2021 edition; bump the rustfmt.toml setting to match
it.

Signed-off-by: Manos Pitsidianakis <[email protected]>
vhost-device-video is 2021 edition; bump the rustfmt.toml setting to
match it.

Signed-off-by: Manos Pitsidianakis <[email protected]>
Copy link
Member

@stefano-garzarella stefano-garzarella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@epilys ++ thank you very much for this!

I left just 1 comment about splitting error/warning messages, the rest LGTM!

epilys added 17 commits July 17, 2025 17:34
rustfmt looks in parent directories, so we can have a single
rustfmt.toml for all crates in the workspace.

Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
epilys added 6 commits July 17, 2025 17:46
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
@stefano-garzarella stefano-garzarella enabled auto-merge (rebase) July 18, 2025 07:56
@stefano-garzarella stefano-garzarella merged commit 27c3e20 into rust-vmm:main Jul 18, 2025
2 checks passed
@epilys epilys deleted the misc-revamps branch July 18, 2025 08:38
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.

3 participants