Closed andreeaflorescu closed 2 years ago
Hm... but that error is coming from https://github.com/rust-vmm/vhost. It also seems to be a vhost from a version < 0.2, which is weird because right now we depend on that one:
vhost = { version = "0.2", features = ["vhost-user-slave"] }
Hm... but that error is coming from https://github.com/rust-vmm/vhost. It also seems to be a vhost from a version < 0.2, which is weird because right now we depend on that one:
vhost = { version = "0.2", features = ["vhost-user-slave"] }
I can't reproduce the build failure locally too. Both vhost and vhost-user-backend builds sucessfully.
@jiangliu Can you delete the Cargo.lock
file and then try to build it? This problem only pops up when updating vmm-sys-util to v0.9.0.
@andreeaflorescu I have tried it this: 1) rm Cargo.lock in vhost-user-backend 2) "cargo test --all-features" succeeds 3) "cargo tree" shows that "vmm-sys-util v0.9" is used
Right, I had an older version locally :laughing: Closing this.
The build fails with the following error:
We should mark the call as unsafe and specify why is the way we are calling this function safe.