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 <heruoqing@iscas.ac.cn>
This commit is contained in:
Ruoqing He 2024-12-04 09:51:23 +08:00 committed by Rob Bradford
parent f6fb442fa3
commit b6d2ac2c2e

View File

@ -29,7 +29,7 @@ vm-memory = { workspace = true, features = [
vm-migration = { path = "../vm-migration" } vm-migration = { path = "../vm-migration" }
vmm-sys-util = { workspace = true } vmm-sys-util = { workspace = true }
[target.'cfg(target_arch = "aarch64")'.dependencies] [target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]
arch = { path = "../arch" } arch = { path = "../arch" }
[features] [features]