From b6d2ac2c2ec108ed82197389c4c662d39d3111ac Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Wed, 4 Dec 2024 09:51:23 +0800 Subject: [PATCH] devices: Enable arch module for riscv64 `arch` module are required for devices module to build. Enabling `arch` module in target specific dependencies section. Signed-off-by: Ruoqing He --- devices/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/Cargo.toml b/devices/Cargo.toml index c1de9cc27..650ff734e 100644 --- a/devices/Cargo.toml +++ b/devices/Cargo.toml @@ -29,7 +29,7 @@ vm-memory = { workspace = true, features = [ vm-migration = { path = "../vm-migration" } vmm-sys-util = { workspace = true } -[target.'cfg(target_arch = "aarch64")'.dependencies] +[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies] arch = { path = "../arch" } [features]