From 9594ecec0dd1e44943ed07eb6c50368ed38bca1c Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 7 Dec 2020 17:07:28 +0000 Subject: [PATCH] build: Only pull in iced-x86 for x86_64 builds Fixes: #2024 Signed-off-by: Rob Bradford --- hypervisor/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/Cargo.toml b/hypervisor/Cargo.toml index 47bb1a74e..068d87184 100644 --- a/hypervisor/Cargo.toml +++ b/hypervisor/Cargo.toml @@ -25,7 +25,7 @@ vmm-sys-util = { version = ">=0.5.0", features = ["with-serde"] } git = "https://github.com/rust-vmm/linux-loader" features = ["elf", "bzimage"] -[dependencies.iced-x86] +[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86] version = "1.9.1" default-features = false features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]