]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MAINTAINERS: add `.rustfmt.toml` to "RUST" entry
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 23 Mar 2026 02:42:06 +0000 (03:42 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Fri, 27 Mar 2026 11:15:47 +0000 (12:15 +0100)
`.rustfmt.toml` is not covered by `MAINTAINERS`, so tools like
`scripts/get_maintainer.pl` do not report it properly, e.g.:

    $ scripts/get_maintainer.pl -f .rustfmt.toml
    linux-kernel@vger.kernel.org (open list)

It should have been there since the beginning, and while it is not a big
deal since the file has not changed at all since it was added in commit
80db40bac8f4 ("rust: add `.rustfmt.toml`") back in 2022, this will be
especially useful to catch unintended unstable features if upstream
`rustfmt` started to allow them in stable toolchains [1][2].

Thus add it.

Link: https://github.com/rust-lang/rustfmt/issues/6829#issuecomment-4084325200
Link: https://github.com/rust-lang/rustfmt/issues/4884
Fixes: 80db40bac8f4 ("rust: add `.rustfmt.toml`")
Link: https://patch.msgid.link/20260323024206.129401-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
MAINTAINERS

index 77fdfcb55f0607712cc4c5590fb7cd1d13d71105..a62f6af55c3a4ab5cdf25c0979a9c8986efa93ba 100644 (file)
@@ -23146,6 +23146,7 @@ C:      zulip://rust-for-linux.zulipchat.com
 P:     https://rust-for-linux.com/contributing
 T:     git https://github.com/Rust-for-Linux/linux.git rust-next
 F:     .clippy.toml
+F:     .rustfmt.toml
 F:     Documentation/rust/
 F:     include/trace/events/rust_sample.h
 F:     rust/