cargo: fix feature = "cargo-clippy" deprecation

This commit is contained in:
Dimitris Apostolou 2024-02-28 14:51:23 +02:00
parent 372cd52e1b
commit 8fcce6e2a5
No known key found for this signature in database
GPG key ID: 4B5D20E938204A8A

View file

@ -1,7 +1,7 @@
[target.x86_64-unknown-redox] [target.x86_64-unknown-redox]
linker = "x86_64-unknown-redox-gcc" linker = "x86_64-unknown-redox-gcc"
[target.'cfg(feature = "cargo-clippy")'] [target.'cfg(clippy)']
rustflags = [ rustflags = [
"-Wclippy::use_self", "-Wclippy::use_self",
"-Wclippy::needless_pass_by_value", "-Wclippy::needless_pass_by_value",