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