mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
4b7bfe1eb3
For convenience, a set of CPU cores can be specified as a sequence of elements which can be either a single integer, or a string of the form "start-end" in order to specify a range. This will allow us to create CPU clusters from the `--cpu` parameter or from the JSON configuration file in a future CL. BUG=b:255223604 TEST=cargo test Change-Id: I55675fcb8645fea1fe59540cb6f2affb900edc50 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4060600 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[package]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
power-monitor-powerd = ["power_monitor/powerd"]
|
|
gdb = ["gdbstub", "gdbstub_arch"]
|
|
direct = []
|
|
|
|
[dependencies]
|
|
acpi_tables = { path = "../acpi_tables" }
|
|
anyhow = "*"
|
|
base = { path = "../base" }
|
|
cfg-if = "1.0.0"
|
|
cros_fdt = { path = "../cros_fdt" }
|
|
devices = { path = "../devices" }
|
|
gdbstub = { version = "0.6.3", optional = true }
|
|
gdbstub_arch = { version = "0.2.4", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
|
libc = "*"
|
|
resources = { path = "../resources" }
|
|
remain = "*"
|
|
serde = { version = "*", features = [ "derive"] }
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
|
sync = { path = "../common/sync" }
|
|
thiserror = "1.0.20"
|
|
vm_control = { path = "../vm_control" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
minijail = "*" # provided by ebuild
|
|
power_monitor = { path = "../power_monitor" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "*"
|
|
|
|
[dev-dependencies]
|
|
serde_json = "*"
|