[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DFVHQBHQR2CW.2X27B7EP1WXTO@garyguo.net>
Date: Thu, 22 Jan 2026 23:01:46 +0000
From: "Gary Guo" <gary@...yguo.net>
To: "Miguel Ojeda" <miguel.ojeda.sandonis@...il.com>, <lyude@...hat.com>,
"Gary Guo" <gary@...yguo.net>
Cc: "Danilo Krummrich" <dakr@...nel.org>, <linux-kernel@...r.kernel.org>,
<dri-devel@...ts.freedesktop.org>, <rust-for-linux@...r.kernel.org>,
"Miguel Ojeda" <ojeda@...nel.org>, "Simona Vetter" <simona@...ll.ch>,
"Alice Ryhl" <aliceryhl@...gle.com>, "Shankari Anand"
<shankari.ak0208@...il.com>, "David Airlie" <airlied@...il.com>, "Asahi
Lina" <lina+kernel@...hilina.net>, "Atharv Dubey" <atharvd440@...il.com>,
"Daniel Almeida" <daniel.almeida@...labora.com>
Subject: Re: [PATCH] rust/drm: Fixup import styles
On Thu Jan 22, 2026 at 9:52 PM GMT, Miguel Ojeda wrote:
> On Thu, Jan 22, 2026 at 10:34 PM <lyude@...hat.com> wrote:
>>
>> Just a random musing - it would actually be quite nice if we could have
>> some sort of automated style check for this. I have to assume the linux
>> kernel probably isn't the only project out there with its own prelude…
>
> Yeah, that would be quite nice indeed -- we have discussed this a few
> times (most recently a couple weeks ago, including whether Klint could
> be used for that and for detecting "long import paths", i.e. when we
> have a re-export we prefer, but that has edge cases; as well as
> related bits like a `klint::moved` annotation -- Cc'ing Gary).
This is tracked in https://github.com/Rust-for-Linux/klint/issues/5.
Best,
Gary
>
> Cheers,
> Miguel
Powered by blists - more mailing lists