vm-allocator: Enable arch module for riscv64

`arch` module are required to provide definitions for riscv64 system irq
and memroy allocation, 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 16:13:21 +08:00 committed by Rob Bradford
parent cd0db3146f
commit 6b57f301db

View File

@ -8,5 +8,5 @@ version = "0.1.0"
libc = "0.2.167" libc = "0.2.167"
vm-memory = { workspace = true } vm-memory = { workspace = true }
[target.'cfg(target_arch = "aarch64")'.dependencies] [target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]
arch = { path = "../arch" } arch = { path = "../arch" }