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
103
103
# We don't want to ignore the following even if they are dot-files
104
104
#
105
105
! .clang-format
106
+ ! .clippy.toml
106
107
! .cocciconfig
107
108
! .editorconfig
108
109
! .get_maintainer.ignore
Original file line number Diff line number Diff line change @@ -20180,6 +20180,7 @@ B: https://github.com/Rust-for-Linux/linux/issues
20180
20180
C: zulip://rust-for-linux.zulipchat.com
20181
20181
P: https://rust-for-linux.com/contributing
20182
20182
T: git https://github.com/Rust-for-Linux/linux.git rust-next
20183
+ F: .clippy.toml
20183
20184
F: Documentation/rust/
20184
20185
F: rust/
20185
20186
F: samples/rust/
Original file line number Diff line number Diff line change @@ -588,6 +588,9 @@ endif
588
588
# Allows the usage of unstable features in stable compilers.
589
589
export RUSTC_BOOTSTRAP := 1
590
590
591
+ # Allows finding `.clippy.toml` in out-of-srctree builds.
592
+ export CLIPPY_CONF_DIR := $(srctree )
593
+
591
594
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
592
595
export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN
593
596
export HOSTRUSTC KBUILD_HOSTRUSTFLAGS
You can’t perform that action at this time.
0 commit comments