mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
24a226169d
docker container size increases to ~4.7-8 Gb TEST=./dev_container --hermetic ./tools/presubmit BUG=none Change-Id: I49dc03182f6ac5c29e0174618cc3864e073a2eb8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3499264 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Anton Romanov <romanton@google.com> Auto-Submit: Anton Romanov <romanton@google.com>
47 lines
1.5 KiB
TOML
47 lines
1.5 KiB
TOML
# Disable clippy lints project-wide.
|
|
# This allows ./tools/clippy and IDE integrations to use the same configuration.
|
|
# This should be replaced with a proper clippy config once available:
|
|
# https://github.com/rust-lang/cargo/issues/5034
|
|
[target.'cfg(all())']
|
|
rustflags = [
|
|
# TODO(b/181763000): Fail builds on warnings
|
|
# "-Dwarnings",
|
|
|
|
# TODO(crbug/908640): To be resolved.
|
|
"-Aclippy::needless_return",
|
|
"-Aclippy::needless_doctest_main",
|
|
"-Aclippy::blocks_in_if_conditions",
|
|
"-Aclippy::missing_safety_doc", # 26 errors
|
|
|
|
# We don't care about these lints. Okay to remain suppressed globally.
|
|
"-Aclippy::bool_assert_comparison",
|
|
"-Aclippy::cast_lossless",
|
|
"-Aclippy::cognitive_complexity",
|
|
"-Aclippy::collapsible_if",
|
|
"-Aclippy::enum_variant_names",
|
|
"-Aclippy::identity_op",
|
|
"-Aclippy::len_without_is_empty",
|
|
"-Aclippy::len_zero",
|
|
"-Aclippy::match_bool",
|
|
"-Aclippy::match_wild_err_arm",
|
|
"-Aclippy::module_inception",
|
|
"-Aclippy::needless_bool",
|
|
"-Aclippy::new_without_default",
|
|
"-Aclippy::new-ret-no-self",
|
|
"-Aclippy::or_fun_call",
|
|
"-Aclippy::result-unit-err",
|
|
"-Aclippy::should_implement_trait",
|
|
"-Aclippy::single_char_pattern",
|
|
"-Aclippy::too_many_arguments",
|
|
"-Aclippy::trivially_copy_pass_by_ref",
|
|
"-Aclippy::type_complexity",
|
|
"-Aclippy::unreadable_literal",
|
|
"-Aclippy::useless_let_if_seq",
|
|
"-Aclippy::useless_transmute",
|
|
]
|
|
|
|
[target.armv7-unknown-linux-gnueabihf]
|
|
linker = "arm-linux-gnueabihf-gcc"
|
|
|
|
[target.x86_64-pc-windows-gnu]
|
|
runner = "wine64"
|