mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
eff60328c1
Sometimes users of cros_async need to return an io::Error. Provide a conversion function to convert the various async errors into an io::Error. This allows callers to access the underlying error without forcing us to expose these internal implementation details. BUG=none TEST=unit tests Change-Id: Ie0ab00cb80ea58f628a38c173e28babf30b8d5b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3006308 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
17 lines
406 B
TOML
17 lines
406 B
TOML
[package]
|
|
name = "io_uring"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
data_model = { path = "../data_model" } # provided by ebuild
|
|
libc = "0.2.93"
|
|
sync = { path = "../sync" } # provided by ebuild
|
|
sys_util = { path = "../sys_util" } # provided by ebuild
|
|
thiserror = "1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = { path = "../tempfile" } # provided by ebuild
|
|
|
|
[workspace]
|