crosvm/common
Vikram Auradkar 7aa543ca35 Introduce code hygiene checks
The patch disallows any platform specific code in sys_util_core and
doesn't let sys_util compile on windows platform.

This ensure to some extent that we keep sys_util and it's dependency
sys_util_core independent of windows code.

check_code_hygiene is not foolproof.

Test: Ran the script against a modified file in sys_util_core containing
      string "target_os = "
      Tried to compile sys_util on windows.
Bug: b:215610772
Upstream-Crate: common/win_sys_util

Cq-Depend: chromium:3433709
Change-Id: Ideb45092a959dd347d966633c3bd4e82f842b1a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3438709
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-02-08 20:59:24 +00:00
..
assertions Upstream windows build/test script 2022-01-28 00:55:08 +00:00
audio_streams Upstream windows build/test script 2022-01-28 00:55:08 +00:00
balloon_control balloon_control: expose rust API for balloon 2022-01-28 03:52:35 +00:00
base Upstream windows build/test script 2022-01-28 00:55:08 +00:00
cros-fuzz Upstream windows build/test script 2022-01-28 00:55:08 +00:00
cros_async Enable cros_async tests 2022-02-08 17:08:51 +00:00
cros_asyncv2 Enable cros_async tests 2022-02-08 17:08:51 +00:00
data_model Upstream windows build/test script 2022-01-28 00:55:08 +00:00
io_uring Upstream windows build/test script 2022-01-28 00:55:08 +00:00
p9 Upstream windows build/test script 2022-01-28 00:55:08 +00:00
sync Upstream windows build/test script 2022-01-28 00:55:08 +00:00
sys_util Introduce code hygiene checks 2022-02-08 20:59:24 +00:00
sys_util_core Move os independent files under a new crate sys_util_core 2022-02-08 20:59:24 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

Crosvm General Purpose Libraries

The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.

To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.

List of libraries

  • cros-fuzz: Support crate for fuzzing rust code in ChromeOS
  • p9: Server implementation of the 9p file system protocol