Skip to content

Commit

Permalink
Merge pull request Rust-for-Linux#427 from ojeda/float-lint
Browse files Browse the repository at this point in the history
Makefile: enable Rust `float_arithmetic` Clippy lint
  • Loading branch information
ojeda authored Jul 4, 2021
2 parents 359c5a2 + b7f0577 commit 7255936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ KBUILD_RUSTFLAGS := --emit=dep-info,obj,metadata --edition=2018 \
-Dunsafe_op_in_unsafe_fn -Drust_2018_idioms \
-Wmissing_docs
KBUILD_CLIPPYFLAGS := -Dclippy::correctness -Dclippy::style \
-Dclippy::complexity -Dclippy::perf
-Dclippy::complexity -Dclippy::perf -Dclippy::float_arithmetic
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
KBUILD_RUSTFLAGS_KERNEL :=
Expand Down

0 comments on commit 7255936

Please sign in to comment.