File tree 4 files changed +6
-0
lines changed
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 @@ -20222,6 +20222,7 @@ B: https://github.com/Rust-for-Linux/linux/issues
20222
20222
C: zulip://rust-for-linux.zulipchat.com
20223
20223
P: https://rust-for-linux.com/contributing
20224
20224
T: git https://github.com/Rust-for-Linux/linux.git rust-next
20225
+ F: .clippy.toml
20225
20226
F: Documentation/rust/
20226
20227
F: rust/
20227
20228
F: samples/rust/
Original file line number Diff line number Diff line change @@ -587,6 +587,9 @@ endif
587
587
# Allows the usage of unstable features in stable compilers.
588
588
export RUSTC_BOOTSTRAP := 1
589
589
590
+ # Allows finding `.clippy.toml` in out-of-srctree builds.
591
+ export CLIPPY_CONF_DIR := $(srctree )
592
+
590
593
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
591
594
export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN
592
595
export HOSTRUSTC KBUILD_HOSTRUSTFLAGS
You can’t perform that action at this time.
0 commit comments