Open andreeaflorescu opened 1 year ago
I'm new (like, really new) to VCS. I updated all the Cargo.toml files I could find (after some premature and meandering commits). My rust-analyzer tells me all crates are updated and the cargo outdated
does as well. I'm still breaking the build though (?).
I have been trying to build on Windows. I believe that may be problematic. I replicated the work on WSL Debian and still am breaking the build.
Hey @eddiemMenefee, just updating the Cargo.toml
to the latest versions is not enough. You have to also look at what the failures are and address them. Some APIs have changed and the calls to those APIs need to be updated. One of the big changes is the virtio queue one where the memory is now passed directly to the methods that need it as opposed to having it as part of the Queue object. This particular change I think is a bit harder to tackle, I might be able to provide a commit that fixes that. For the rest, if they're rust-vmm crates, you can look at the changelog to see what changed between the version that you're upgrading to compared to the previous version, and understand what needs to be changed.
The purpose of this issue is to make the CI pass on main. Right now it fails because of a
cargo audit
failure.Steps for solving this issue:
cargo outdated
and run the command.Cargo.toml
files keeping in mind that we should use the latest everywhere. If a crate is a dependency of 2 local vmm-reference crates, then both of them should point to the same value.cargo outdated
to make sure you didn't miss any updates.At the end of this work
cargo audit
should pass in the CI.