On Fri, Apr 17, 2026 at 5:15 AM Yury Norov <[email protected]> wrote: > > There are 6 individual Rust KUnit tests. All the tests are compiled
I think here you mean "test suite", i.e. there are many more individual KUnit tests than that -- hundreds at the moment (mostly doctests). > unconditionally now, which adds ~200 kB to the kernel image for me > on x86_64. As Rust matures, this bloating will inevitably grow. Yeah, options for major/relevant sets sound good, even after we split the crate. Not sure about granularity, i.e. whether we will want a Kconfig for every single test suite, though... Especially because we can end up with a ton of Kconfig symbols; but I see there are a bunch of those already in the tree in the C side, so I guess this is expected/fine, especially given David's review. (By the way, KUnit is not intended for production kernels, so I am not sure it really counts as bloat in that sense.) Thanks! Cheers, Miguel

