Enable tests that depend on bincode

The bincode crate was imported in b/330683225, so we can now enable
unit tests for crates which uses it as a dev-dependency.

This change includes a patch submitted upstream:
https://github.com/rust-vmm/vmm-sys-util/pull/221.

Bug: 333560480
Flag: TEST_ONLY
Test: atest --host vmm-sys-util_test_src_lib
Change-Id: Id2f7fdd8bee8a313ed09ff19028aa63e1cfde0e7
3 files changed
tree: 0b979a13878bf5c2ffa9a61460733869c428bd0c
  1. .buildkite/
  2. .cargo/
  3. .github/
  4. src/
  5. .cargo_vcs_info.json
  6. .gitignore
  7. Android.bp
  8. Cargo.toml
  9. Cargo.toml.orig
  10. cargo_embargo.json
  11. CHANGELOG.md
  12. CODEOWNERS
  13. coverage_config_aarch64.json
  14. coverage_config_x86_64.json
  15. LICENSE-BSD-3-Clause
  16. METADATA
  17. MODULE_LICENSE_BSD_LIKE
  18. OWNERS
  19. README.md
README.md

vmm-sys-util

crates.io docs.rs

This crate is a collection of modules that provides helpers and utilities used by multiple rust-vmm components.

The crate implements safe wrappers around common utilities for working with files, event file descriptors, ioctls and others.

Support

Platforms:

  • x86_64
  • aarch64

Operating Systems:

  • Linux
  • Windows (partial support)

License

This code is licensed under BSD-3-Clause.