diff --git a/tests/avr/Cargo.toml b/tests/avr/Cargo.toml index 705f3d93..ec1b0070 100644 --- a/tests/avr/Cargo.toml +++ b/tests/avr/Cargo.toml @@ -24,6 +24,8 @@ resolver = "2" rust_2018_idioms = "warn" single_use_lifetimes = "warn" # unsafe_op_in_unsafe_fn = "warn" # Set at crate-level instead since https://github.com/rust-lang/rust/pull/100081 is not available on MSRV +[lints.clippy] +lint_groups_priority = { level = "allow", priority = 1 } # clippy bug: https://github.com/rust-lang/rust-clippy/issues/12270 [profile.dev] lto = true diff --git a/tests/gba/Cargo.toml b/tests/gba/Cargo.toml index a7d26c0f..42974368 100644 --- a/tests/gba/Cargo.toml +++ b/tests/gba/Cargo.toml @@ -18,6 +18,8 @@ resolver = "2" rust_2018_idioms = "warn" single_use_lifetimes = "warn" # unsafe_op_in_unsafe_fn = "warn" # Set at crate-level instead since https://github.com/rust-lang/rust/pull/100081 is not available on MSRV +[lints.clippy] +lint_groups_priority = { level = "allow", priority = 1 } # clippy bug: https://github.com/rust-lang/rust-clippy/issues/12270 [profile.dev] # TODO: "GBA: Illegal opcode: e7ffdefe" on opt-level=0, GBA hang on opt-level={1,s,z} diff --git a/tests/no-std-qemu/Cargo.toml b/tests/no-std-qemu/Cargo.toml index de274719..7bc3e5bf 100644 --- a/tests/no-std-qemu/Cargo.toml +++ b/tests/no-std-qemu/Cargo.toml @@ -35,6 +35,9 @@ resolver = "2" rust_2018_idioms = "warn" single_use_lifetimes = "warn" # unsafe_op_in_unsafe_fn = "warn" # Set at crate-level instead since https://github.com/rust-lang/rust/pull/100081 is not available on MSRV +[lints.clippy] +lint_groups_priority = { level = "allow", priority = 1 } # clippy bug: https://github.com/rust-lang/rust-clippy/issues/12270 +single_match = { level = "allow", priority = 1 } [profile.dev] opt-level = "s" diff --git a/tests/xtensa/Cargo.toml b/tests/xtensa/Cargo.toml index ba9ff5c1..b1ed3f05 100644 --- a/tests/xtensa/Cargo.toml +++ b/tests/xtensa/Cargo.toml @@ -22,6 +22,8 @@ resolver = "2" rust_2018_idioms = "warn" single_use_lifetimes = "warn" # unsafe_op_in_unsafe_fn = "warn" # Set at crate-level instead since https://github.com/rust-lang/rust/pull/100081 is not available on MSRV +[lints.clippy] +lint_groups_priority = { level = "allow", priority = 1 } # clippy bug: https://github.com/rust-lang/rust-clippy/issues/12270 [profile.dev] opt-level = 'z'