-
Notifications
You must be signed in to change notification settings - Fork 115
0.17: replace code with compatibility imports from 0.18 #366
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
base: 0.17
Are you sure you want to change the base?
Conversation
47b0b35 to
8769dec
Compare
|
Sorry, remind me, what is the use case for this? Is it that users may stay for at least a while on 0.17.x to keep the old interface, and we may release new 0.17.x versions with updated dependencies to 0.18+? If so, sounds OK, maybe should be noted explicitly in the changelog (that future 0.17.x releases are in the cards). Specifically for the PR as-is: I see that It’s not that bad, though, so I don’t think it’s a problem that needs solving if there’s no easy fix. So my only real problem is that |
I think we do not need more than one release, because a single 0.17.2 version can work with any 0.18.x version (they are ABI-compatible with 0.18.0 after all). The advantage is that crates that stay on 0.17 will still be able to interoperate with those that move to 0.18. |
|
heh, why is the "merge" button showing even though CI is failing? 🙈 |
|
Probably the 0.17 branch is not protected. |
099718f to
710ceee
Compare
Signed-off-by: Paolo Bonzini <[email protected]>
d45b136 to
85e4ace
Compare
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Fixed (and CI now passes). |
Summary of the PR
Allow using code targeting 0.17.x together with vm-memory 0.18. This PR re-packages the code of vm-memory 0.18.0 while preserving API compatibility with 0.17.1. All of the actual implementation comes from version 0.18.0, which this crate re-exports with
GuestMemoryBackendchanged back toGuestMemory.Requirements
Before submitting your PR, please make sure you addressed the following
requirements:
git commit -s), and the commit message has max 60 characters for thesummary and max 75 characters for each description line.
test.
Release" section of CHANGELOG.md (if no such section exists, please create one).
unsafecode is properly documented.