mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
Since we have "main" like functions in the devices crate for vhost-user devices, we need to use ExitContext & Exit there. This wasn't possible with the existing location in the crosvm/main crate because crosvm -> devices so we can't have devices -> crosvm. This CL moves exit to a new crate, crosvm_cli, where it can be used by all interested consumers. BUG=b:253348635 TEST=builds Change-Id: Ia06d9dee2cd5826ea20a7fb3a0c2a53c58e2ff1d Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3960854 Commit-Queue: Noah Gold <nkgold@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
15 lines
253 B
TOML
15 lines
253 B
TOML
[package]
|
|
name = "crosvm_cli"
|
|
authors = ["The Chromium OS Authors"]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.32"
|
|
cfg-if = "1.0.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
win_util = { path = "../win_util" }
|
|
winapi = "*"
|