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 @@ -103,6 +103,7 @@ modules.order
103103# We don't want to ignore the following even if they are dot-files
104104#
105105! .clang-format
106+ ! .clippy.toml
106107! .cocciconfig
107108! .editorconfig
108109! .get_maintainer.ignore
Original file line number Diff line number Diff line change @@ -20191,6 +20191,7 @@ B: https://github.com/Rust-for-Linux/linux/issues
2019120191C: zulip://rust-for-linux.zulipchat.com
2019220192P: https://rust-for-linux.com/contributing
2019320193T: git https://github.com/Rust-for-Linux/linux.git rust-next
20194+ F: .clippy.toml
2019420195F: Documentation/rust/
2019520196F: rust/
2019620197F: samples/rust/
Original file line number Diff line number Diff line change @@ -588,6 +588,9 @@ endif
588588# Allows the usage of unstable features in stable compilers.
589589export RUSTC_BOOTSTRAP := 1
590590
591+ # Allows finding `.clippy.toml` in out-of-srctree builds.
592+ export CLIPPY_CONF_DIR := $(srctree )
593+
591594export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
592595export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN
593596export HOSTRUSTC KBUILD_HOSTRUSTFLAGS
You can’t perform that action at this time.
0 commit comments