From d242ec687946042904a8e9f6d203b72f87346cd6 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Tue, 1 Oct 2024 03:31:45 +0000 Subject: [PATCH] build: disable vfio-ioctls default features on workspace level Cargo's features are additive. Disabling default features in individual packages but not on the workspace level makes no sense. This fixes the several build warnings. Fixes: 5a70d7ec69836 (build: Centralize rust-vmm crates to workspace) Signed-off-by: Wei Liu --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f60cd89f8..5accc157c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -110,7 +110,7 @@ mshv-bindings = { git = "https://github.com/rust-vmm/mshv", tag = "v0.3.0" } mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", tag = "v0.3.0" } seccompiler = "0.4.0" vfio-bindings = { git = "https://github.com/rust-vmm/vfio", branch = "main" } -vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main" } +vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false } vfio_user = { git = "https://github.com/rust-vmm/vfio-user", branch = "main" } vhost = "0.12.0" virtio-bindings = "0.2.2"