build: add missing dependency features
This makes it possible to run cargo test just for the virtio-devices crate (as long as either KVM or MSHV is specified). Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
parent
a5cd1b4fbe
commit
01aed9733c
3 changed files with 12 additions and 3 deletions
|
|
@ -6,8 +6,8 @@ version = "0.1.0"
|
|||
|
||||
[features]
|
||||
default = []
|
||||
kvm = ["vfio-ioctls/kvm"]
|
||||
mshv = ["vfio-ioctls/mshv"]
|
||||
kvm = ["hypervisor/kvm", "vfio-ioctls/kvm"]
|
||||
mshv = ["hypervisor/mshv", "vfio-ioctls/mshv"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.94"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue