Skip to content

Commit 7dd2104

Browse files
committed
configure cargo-all-features
Set it up so that it does not try to combine the xen and postcopy features, and also ignore the test-only test_utils feature. Signed-off-by: Patrick Roy <[email protected]>
1 parent f364994 commit 7dd2104

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

vhost-user-backend/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ uuid = { version = "1.8.0", features=["v4"] }
2828
vhost = { path = "../vhost", version = "0.14.0", features = ["test-utils", "vhost-user-frontend", "vhost-user-backend"] }
2929
vm-memory = { workspace = true, features = ["backend-mmap", "backend-atomic"] }
3030
tempfile = "3.2.0"
31+
32+
[package.metadata.cargo-all-features]
33+
skip_feature_sets = [
34+
["xen", "postcopy"]
35+
]

vhost/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@ vm-memory = { workspace = true, features=["backend-mmap"] }
3737
[dev-dependencies]
3838
tempfile = "3.2.0"
3939
serial_test = "3.0"
40+
41+
[package.metadata.cargo-all-features]
42+
skip_feature_sets = [
43+
["xen", "postcopy"]
44+
]
45+
46+
denylist = ["test_utils"]

0 commit comments

Comments
 (0)