Re: [PATCH] rust: bug: fix `dead_code` warning in `warn_on!`

"Gary Guo" <[email protected]>
Newsgroups gmane.linux.kernel.stable,gmane.linux.kernel.rust,gmane.linux.ports.arm.kernel
Message-ID <[email protected]>
On Sat Aug 8, 2026 at 12:21 AM BST, Miguel Ojeda wrote:
> On Sat, Aug 8, 2026 at 12:43 AM FUJITA Tomonori <[email protected]> wrote:
>>
>> I sent a fix for this bug a few days ago:
>>
>> https://lore.kernel.org/all/[email protected]/
>
> Ah, right, sorry! I also saw another one with `rusttest` for arm64 and
> riscv64. Did you see that one? We probably need a `cfg(testlib)`
> split.

I am not sure how much value does `rusttest` still provide, given that KUnit can
test much more stuff in an actual envirionment. The fact that we have to do
special casing does suggest to me that we might want to remove it.

Best,
Gary
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.