crosvm/tools/impl
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
..
dev_container Upgrade rust toolchain version to 1.58.1 2022-02-04 02:20:36 +00:00
testvm Make aarch64 vm usable for running armhf binaries. 2021-12-09 01:08:45 +00:00
check_code_hygiene.py Introduce code hygiene checks 2022-02-08 20:59:24 +00:00
test_config.py Move os independent files under a new crate sys_util_core 2022-02-08 20:59:24 +00:00
test_runner.py Introduce code hygiene checks 2022-02-08 20:59:24 +00:00
test_target.py crosvm: Do not use .cargo/config.toml 2021-10-30 00:16:33 +00:00
testvm.py Add test runner ./tools/run_tests 2021-10-15 22:12:03 +00:00