Thread (9 messages) 9 messages, 3 authors, 2025-01-10

Re: [PATCH 2/3] rust: kernel: move `build_error` hidden function to prevent mistakes

From: Alice Ryhl <aliceryhl@google.com>
Date: 2024-11-25 09:33:02
Also in: linux-block, linux-patches, lkml, rust-for-linux

On Mon, Nov 25, 2024 at 10:23 AM Miguel Ojeda
[off-list ref] wrote:
On Mon, Nov 25, 2024 at 10:14 AM Alice Ryhl [off-list ref] wrote:
quoted
You could also put #![doc(hidden)] at the top of build_assert.rs to
simplify the lib.rs list. Not sure what is best.
Yeah, not sure. We used outer attributes for the rest of
`doc(hidden)`s, including in the same file, so it is probably best to
keep it consistent, unless we decide to move all to inner ones.
It might actually make sense to move all of them, I think. I find that
they make the list difficult to edit.

But feel free to pick whichever one you prefer for this change. My RB
applies with or without it :)

Alice
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help