From bcaa299c55bf875585af4644e645a20aab1847ef Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Fri, 22 Jul 2022 19:43:29 +0000 Subject: [PATCH] devices: arch is only needed by aarch64 Signed-off-by: Wei Liu --- devices/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devices/Cargo.toml b/devices/Cargo.toml index b71484a08..bbf7e8450 100644 --- a/devices/Cargo.toml +++ b/devices/Cargo.toml @@ -20,6 +20,9 @@ vm-memory = "0.8.0" vm-migration = { path = "../vm-migration" } vmm-sys-util = "0.10.0" +[target.'cfg(target_arch = "aarch64")'.dependencies] +arch = { path = "../arch" } + [features] default = [] cmos = []