mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
97dff044f8
Updates are made to source and documentation. This more accurately represents the currently supported platforms of Android/Linux and Windows, without unexpectedly including other unix-like operating systems. Command to reproduce: $ find . -type f -not -path '*/\.git/*' | xargs -I {} sed -i 's/cfg(unix)/cfg(any(target_os = "android", target_os = "linux"))/g' {} $ cargo fmt md files manually updated to fix line lengths. Renaming `unix` modules to `linux` will be done in a later CL. Test: ./tools/dev_container ./tools/presubmit Bug: b/298269162 Change-Id: I42c1bf0abf80b9a0df25551613910293217c7295 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4909059 Commit-Queue: Cody Schuffelen <schuffelen@google.com> Reviewed-by: Frederick Mayle <fmayle@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com>
50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
haxm = []
|
|
whpx = []
|
|
gdb = ["gdbstub", "gdbstub_arch"]
|
|
geniezone = []
|
|
gunyah = []
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
bit_field = { path = "../bit_field" }
|
|
bitflags = "2.2.1"
|
|
cros_fdt = { path = "../cros_fdt" }
|
|
data_model = { path = "../common/data_model" }
|
|
downcast-rs = "1.2.0"
|
|
enumn = "0.1.0"
|
|
fnv = "1"
|
|
gdbstub = { version = "0.6.3", optional = true }
|
|
gdbstub_arch = { version = "0.2.4", optional = true }
|
|
libc = "*"
|
|
memoffset = "0.6"
|
|
once_cell = "1.7"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_json = { version = "1" }
|
|
sync = { path = "../common/sync" }
|
|
base = { path = "../base" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
|
kvm = { path = "../kvm" }
|
|
kvm_sys = { path = "../kvm_sys" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
thiserror = "*"
|
|
winapi = "*"
|
|
win_util = { path = "../win_util" }
|
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
|
version = "0.39.0"
|
|
features = [
|
|
"Win32_Foundation",
|
|
]
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
tempfile = "*"
|