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 @@ -20175,6 +20175,7 @@ B: https://github.com/Rust-for-Linux/linux/issues
20175
20175
C: zulip://rust-for-linux.zulipchat.com
20176
20176
P: https://rust-for-linux.com/contributing
20177
20177
T: git https://github.com/Rust-for-Linux/linux.git rust-next
20178
+ F: .clippy.toml
20178
20179
F: Documentation/rust/
20179
20180
F: rust/
20180
20181
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