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:
parent
cd0db3146f
commit
6b57f301db
1 changed files with 1 additions and 1 deletions
|
|
@ -8,5 +8,5 @@ version = "0.1.0"
|
|||
libc = "0.2.167"
|
||||
vm-memory = { workspace = true }
|
||||
|
||||
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
||||
[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]
|
||||
arch = { path = "../arch" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue