You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit upgrades kvm-bindings from the default Rust edition 2015
to edition 2024, addressing the need for explicit unsafe blocks and
proper module path resolution.
Changes:
- Add \`edition = \"2024\"\` to kvm-bindings/Cargo.toml
- Wrap unsafe function calls in explicit unsafe blocks in bindings.rs
- from_raw_parts, from_raw_parts_mut, transmute calls
- Fix import paths in fam_wrappers.rs and nested.rs:
- \`use x86_64::bindings::*\` → \`use crate::x86_64::bindings::*\`
- Add explicit \`crate::\` prefix for module imports
- Remove \`extern crate core;\` (automatic in edition 2024)
All tests pass with no warnings.
Fixes#329
Signed-off-by: SteelCrab <[email protected]>
0 commit comments