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 @@ -105,6 +105,7 @@ modules.order
105
105
# We don't want to ignore the following even if they are dot-files
106
106
#
107
107
! .clang-format
108
+ ! .clippy.toml
108
109
! .cocciconfig
109
110
! .editorconfig
110
111
! .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 @@ -590,6 +590,9 @@ endif
590
590
# Allows the usage of unstable features in stable compilers.
591
591
export RUSTC_BOOTSTRAP := 1
592
592
593
+ # Allows finding `.clippy.toml` in out-of-srctree builds.
594
+ export CLIPPY_CONF_DIR := $(srctree )
595
+
593
596
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
594
597
export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN
595
598
export HOSTRUSTC KBUILD_HOSTRUSTFLAGS
You can’t perform that action at this time.
0 commit comments