vhost_user_block/net: Fix build from the target folder

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2022-04-11 14:08:18 -07:00 committed by Rob Bradford
parent 65716f1376
commit 85c068f769
2 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
block_util = { path = "../block_util" }
clap = { version = "3.1.8", features = ["wrap_help"] }
clap = { version = "3.1.8", features = ["wrap_help","cargo"] }
env_logger = "0.9.0"
epoll = "4.3.1"
libc = "0.2.122"
@ -18,3 +18,6 @@ vhost-user-backend = "0.3.0"
virtio-bindings = "0.1.0"
vm-memory = "0.7.0"
vmm-sys-util = "0.9.0"
[build-dependencies]
clap = { version = "3.1.8", features = ["cargo"] }

View File

@ -5,7 +5,7 @@ authors = ["The Cloud Hypervisor Authors"]
edition = "2021"
[dependencies]
clap = { version = "3.1.8", features = ["wrap_help"] }
clap = { version = "3.1.8", features = ["wrap_help","cargo"] }
env_logger = "0.9.0"
epoll = "4.3.1"
libc = "0.2.122"
@ -17,3 +17,6 @@ vhost-user-backend = "0.3.0"
virtio-bindings = "0.1.0"
vm-memory = "0.7.0"
vmm-sys-util = "0.9.0"
[build-dependencies]
clap = { version = "3.1.8", features = ["cargo"] }