mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
108a335d7d
cross-compilation requires additional configuration that depends heavily on the host platform. Unfortunately cargo cannot be configured on a per host platform basis so this has to be done manually. Most developers are just using native compilation (and using the containers for everything else). So we can slim our install-deps scripts a bit. To verify the updated install scripts, this change includes containers to simulate a fresh developer workstation that can be used to verify out of the box workflows. BUG=b:262829206 BUG=b:265995780 BUG=b:265842137 TEST=tools/contrib/minimal_container/test-all.sh and CQ Change-Id: I0e803d0224306e5351728e2c80fcbcd8260d029d Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4179290 Reviewed-by: Zihan Chen <zihanchen@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com>
35 lines
1.2 KiB
TOML
35 lines
1.2 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
|
|
[build]
|
|
rustflags = [
|
|
# TODO(crbug/908640): To be resolved.
|
|
"-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",
|
|
]
|