crosvm/tools
Keiichi Watanabe 372118c8aa tools: Set "-D warnings" for run_tests
Disallow code emitting warnings in run_tests instead of
.cargo/config.toml.

There are three places where we can specify "-Dwarnings":
(1). rustflags in .cargo/config.toml
(2). flags in health-check
(3). RUSTFLAGS environment variable used in run_tests

(1) was the place where we had -Dwarnings, but this affects downstream
projects that use cargo. So, it can cause an unexpected build error when
unsupported combinations of feature flags are used in the downstream
project. So, we want to force "-Dwarnings"  only in the upstream CI.
(2) is a place we already have the flag. However, the health-check script
only runs on x86_64 platform in our CI.

So, we choose (3) in this CL so we can force "-Dwarnings" only for fixed
sets of features used in the upstream CI. Also, this can support all of
platforms in the upstream CI.

BUG=b:181763000
TEST=CQ

Change-Id: Iceededcc51e19d6781758e7fd7d5a2d7941d9ebc
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4014329
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2022-11-09 20:43:30 +00:00
..
audio_streams_conformance_test Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
chromeos handle new CV run ended message 2022-09-23 16:58:44 +00:00
contrib Make common crates part of the crosvm workspace 2022-10-31 21:33:33 +00:00
examples Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
impl tools: Set "-D warnings" for run_tests 2022-11-09 20:43:30 +00:00
tests tools/cl upload: Add a few convenience flags 2022-11-02 20:20:47 +00:00
windows tree-wide: use "crosvm" capitalization everywhere 2022-10-07 01:10:12 +00:00
.vpython3 infra: Small process improvements 2022-05-27 20:59:12 +00:00
aarch64vm Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
bindgen-all-the-things Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
cargo-doc Simplify cargo-doc 2022-10-31 21:33:33 +00:00
cl tools/cl upload: Add a few convenience flags 2022-11-02 20:20:47 +00:00
clippy crosvm: Enable default features on windows. 2022-11-07 23:03:25 +00:00
dev_container infra: Add build_chromeos_container builder 2022-10-26 23:05:08 +00:00
fmt Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
health-check Generate constants.json offline 2022-11-02 00:13:08 +00:00
install-aarch64-deps Enable vaapi feature upstream 2022-10-14 20:31:19 +00:00
install-armhf-deps test_config: Cleanup and enable some video crates 2022-11-03 23:03:54 +00:00
install-deps e2e_tests: Add a tool to dev_container and guest rootfs 2022-11-07 04:00:40 +00:00
install-docs-deps Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
install-wine-deps Fix winetricks install and build new container 2022-11-01 19:04:35 +00:00
presubmit tools: Call clippy for mingw64 from presubmit 2022-11-03 18:36:41 +00:00
run_tests Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
test_target Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
x86vm Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00