On Fri, Jul 26, 2024 at 12:23 PM Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote: > > This is great, thanks, Matthew! > > Does Rust support KUnit tests? > It would be good to add at least a simple positive test similar to the > existing ones so that the support does not get rotten soon. > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/mm/kasan/kasan_test.c Yeah, we have Rust doctests converted into KUnit tests, as well as upcoming `#[test]`s support (also handled as KUnit tests). For this, I assume the latter would make more sense, but we have to merge it. Cheers, Miguel