File tree Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: GPL-2.0
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ modules.order
103103# We don't want to ignore the following even if they are dot-files
104104#
105105! .clang-format
106+ ! .clippy.toml
106107! .cocciconfig
107108! .editorconfig
108109! .get_maintainer.ignore
Original file line number Diff line number Diff line change @@ -20222,6 +20222,7 @@ B: https://github.com/Rust-for-Linux/linux/issues
2022220222C: zulip://rust-for-linux.zulipchat.com
2022320223P: https://rust-for-linux.com/contributing
2022420224T: git https://github.com/Rust-for-Linux/linux.git rust-next
20225+ F: .clippy.toml
2022520226F: Documentation/rust/
2022620227F: rust/
2022720228F: samples/rust/
Original file line number Diff line number Diff line change @@ -587,6 +587,9 @@ endif
587587# Allows the usage of unstable features in stable compilers.
588588export RUSTC_BOOTSTRAP := 1
589589
590+ # Allows finding `.clippy.toml` in out-of-srctree builds.
591+ export CLIPPY_CONF_DIR := $(srctree )
592+
590593export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
591594export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN
592595export HOSTRUSTC KBUILD_HOSTRUSTFLAGS
You can’t perform that action at this time.
0 commit comments