mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 20:19:07 +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>
7 lines
216 B
Rust
7 lines
216 B
Rust
// Copyright 2022 The ChromiumOS Authors
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
//! Contains common CLI code (e.g. exit code handling).
|
|
|
|
pub mod sys;
|