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 @@ -95,6 +95,7 @@ modules.order
95
95
# We don't want to ignore the following even if they are dot-files
96
96
#
97
97
! .clang-format
98
+ ! .clippy.toml
98
99
! .cocciconfig
99
100
! .editorconfig
100
101
! .get_maintainer.ignore
Original file line number Diff line number Diff line change @@ -19141,6 +19141,7 @@ B: https://github.com/Rust-for-Linux/linux/issues
19141
19141
C: zulip://rust-for-linux.zulipchat.com
19142
19142
P: https://rust-for-linux.com/contributing
19143
19143
T: git https://github.com/Rust-for-Linux/linux.git rust-next
19144
+ F: .clippy.toml
19144
19145
F: Documentation/rust/
19145
19146
F: rust/
19146
19147
F: samples/rust/
Original file line number Diff line number Diff line change @@ -597,6 +597,9 @@ endif
597
597
# Allows the usage of unstable features in stable compilers.
598
598
export RUSTC_BOOTSTRAP := 1
599
599
600
+ # Allows finding `.clippy.toml` in out-of-srctree builds.
601
+ export CLIPPY_CONF_DIR := $(srctree )
602
+
600
603
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
601
604
export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN CARGO
602
605
export HOSTRUSTC KBUILD_HOSTRUSTFLAGS
You can’t perform that action at this time.
0 commit comments