Skip to content

Conversation

@bonzini
Copy link
Member

@bonzini bonzini commented Jan 28, 2025

Summary of the PR

Fix some more issues from clippy and let vm-memory compile on Windows.

Putting these two together because they is really no functional change.

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.

The associated constants on the integer types have been available since 1.43.0,
so do not use the corresponding modules in std or core.

Signed-off-by: Paolo Bonzini <[email protected]>
The paragraph refers to the two items in the previous numbered list,
so it must not be indented.

Signed-off-by: Paolo Bonzini <[email protected]>
@bonzini bonzini force-pushed the clippy branch 2 times, most recently from 56feda9 to 4174acb Compare January 28, 2025 09:28
@bonzini bonzini marked this pull request as ready for review January 28, 2025 12:19
Windows does not have PROT_READ or PROT_WRITE, remove them from
PtrGuard's API and only reference them inside the `cfg` block.

Signed-off-by: Paolo Bonzini <[email protected]>
@bonzini bonzini merged commit 1755d1d into rust-vmm:main Jan 28, 2025
2 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.

3 participants