mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
99685eec8e
There were lots of unwraps in the code. Change the functions to return results and return errors when possible. Otherwise, expect instead. BUG=N/A TEST=presubmit Change-Id: I218aabefc30e40185eb6855117e85f1ff8bac09a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5704476 Commit-Queue: Elie Kheirallah <khei@google.com> Reviewed-by: Frederick Mayle <fmayle@google.com> Auto-Submit: Elie Kheirallah <khei@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
34 lines
929 B
TOML
34 lines
929 B
TOML
[package]
|
|
name = "aarch64"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
gdb = ["gdbstub", "gdbstub_arch", "arch/gdb"]
|
|
swap = ["swap/enable"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
arch = { path = "../arch" }
|
|
cros_fdt = { path = "../cros_fdt" }
|
|
devices = { path = "../devices" }
|
|
gdbstub = { version = "0.7.0", optional = true }
|
|
gdbstub_arch = { version = "0.3.0", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
jail = { path = "../jail" }
|
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
|
kernel_loader = { path = "../kernel_loader" }
|
|
libc = "0.2"
|
|
rand = "0.8"
|
|
remain = "0.2"
|
|
resources = { path = "../resources" }
|
|
swap = { path = "../swap" }
|
|
sync = { path = "../common/sync" }
|
|
base = { path = "../base" }
|
|
thiserror = "1"
|
|
vm_control = { path = "../vm_control" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
|
minijail = "*"
|