mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
c9410186f1
* Focus on correctness lints. This relies on a compiler patch that landed 8th July 2021. If people are using an earlier version of the compiler everything will still work unless they try and run clippy. Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
15 lines
375 B
TOML
15 lines
375 B
TOML
#
|
|
# An auto defined `clippy` feature was introduced,
|
|
# but it was found to clash with user defined features,
|
|
# so was renamed to `cargo-clippy`.
|
|
#
|
|
# If you want standard clippy run:
|
|
# RUSTFLAGS= cargo clippy
|
|
[target.'cfg(feature = "cargo-clippy")']
|
|
rustflags = [
|
|
"-Aclippy::all",
|
|
"-Dclippy::correctness",
|
|
"-Aclippy::if-same-then-else",
|
|
"-Aclippy::clone-double-ref"
|
|
]
|