crosvm/sys_util
Allen Webb bfc3f64598 sys_util: Convert mmap::Error over to thiserror::Error.
This conversion adds source attribution for wrapped errors and
implicitly implements std::error::Error for mmap::Error which was
missing before.

Also some compile time warnings were fixed for the mmap::arena_msync
test case.

BUG=None
TEST=cargo test

Change-Id: I13b6257692887bcd7229f1cb59c10edb850d0a65
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3207106
Auto-Submit: Allen Webb <allenwebb@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Allen Webb <allenwebb@google.com>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
2021-10-06 13:07:38 +00:00
..
poll_token_derive
src sys_util: Convert mmap::Error over to thiserror::Error. 2021-10-06 13:07:38 +00:00
.build_test_serial
Cargo.toml sys_util: Switch syslog error to thiserror 2021-05-18 16:42:20 +00:00