From 8fcce6e2a54564741fa646b63a5e38499ccf8457 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Wed, 28 Feb 2024 14:51:23 +0200 Subject: [PATCH] cargo: fix feature = "cargo-clippy" deprecation --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index a4dc4b423..d7db3025d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,7 +1,7 @@ [target.x86_64-unknown-redox] linker = "x86_64-unknown-redox-gcc" -[target.'cfg(feature = "cargo-clippy")'] +[target.'cfg(clippy)'] rustflags = [ "-Wclippy::use_self", "-Wclippy::needless_pass_by_value",