mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
1e602bd9a6
Currently `vm-allocator` module cannot be solely built, by add `features` section and specifying `arch/kvm` to turn on the features required for its dependency - `arch` module to build. Thus enabling `vm-allocator` crate to be built and tested with command: ```sh cargo build -p vm-allocator --features kvm ``` Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
17 lines
327 B
TOML
17 lines
327 B
TOML
[package]
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
name = "vm-allocator"
|
|
version = "0.1.0"
|
|
|
|
[features]
|
|
default = []
|
|
kvm = ["arch/kvm"]
|
|
|
|
[dependencies]
|
|
libc = "0.2.167"
|
|
vm-memory = { workspace = true }
|
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]
|
|
arch = { path = "../arch" }
|