Re: [PATCH v3] hardening: Default randstruct off with rust for better allmodconfig support
"Gary Guo" <[email protected]> Mon, 13 Jul 2026 14:54:54 +0100
| Newsgroups | org.kernel.vger.linux-security-module,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
On Mon Jul 13, 2026 at 1:45 PM BST, Mark Brown wrote: > On Thu, Jul 02, 2026 at 06:37:08PM +0100, Mark Brown wrote: >> Currently randstruct does not support rust so we have Kconfig dependencies >> which prevent rust being enabled when randstruct is. Unfortunately this >> prevents rust being enabled in allmodconfig, our standard coverage build. >> randstruct gets turned on by default, then the dependency on !RANDSTRUCT >> causes rust to get disabled. > > Any news on this? I'm flying blind doing -next merges of rust code with > build coverage gone, and I suspect a bunch of other people think they > have build coverage in their tests but it's silently vanished (I know at > least one person ran into that already). I thought Miguel wants to add support to properly support RANDSTRUCT with Clang? Best, Gary