crosvm/hypervisor/Cargo.toml
Ludovic Barman cd04b6198d Upgrade gdbstub and gdbstub_arch.
gdbstub 0.6.3 -> 0.7.0
gdbstub_arch 0.2.4 -> 0.3.0

There is small change in API, see src/crosvm/gdb.rs. `read_addrs` now returns a `usize` instead of a `()`.

This change is needed to submit this AOSP topic: https://android-review.git.corp.google.com/c/platform/external/crosvm/+/2879249

BUG=b:286979636

TEST=tools/presubmit --all

Change-Id: I124d65e673c5943070c2bb5e39e3a7e5506e5528
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5146447
Commit-Queue: Frederick Mayle <fmayle@google.com>
Reviewed-by: Vikram Auradkar <auradkar@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2024-01-04 02:06:22 +00:00

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.7.0", optional = true }
gdbstub_arch = { version = "0.3.0", 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 = "*"