Re: [PATCH v2] kbuild: clean `*.long-type-*.txt` files
From: Miguel Ojeda
Date: Sat May 30 2026 - 00:33:19 EST
On Fri, May 29, 2026 at 10:55 PM Joel Kamminga <contact@xxxxxxxx> wrote:
>
> This cleans up files generated by rustc compiler in the case of an
> error containing an excessively long type name that doesn't fit in
> a single line. Such types appear relatively frequently so the risk
> of generating these files certainly exists. These files are purely
> compiler artifacts and are not created intentionally by the build
> system. They should be added to the `clean` target to stop from
> cluttering up the source tree.
Normally, we try to use the imperative for the actual change in commit
messages, i.e. "as if you are giving orders to the codebase to change
its behaviour":
https://docs.kernel.org/process/submitting-patches.html#describe-your-changes
I would also probably add "rust: " after "kbuild: " in the title to
scope it a bit more, since these files are `rustc`'s ones.
Otherwise, it looks good, thanks! :)
I can take this through Rust since I have Manos' there too, unless
others prefer otherwise.
Cheers,
Miguel