Re: [PATCH 2/2] rust: kcsan: add KUnit test for data race detection

From: Marco Elver

Date: Mon Oct 12 2026 - 11:27:25 EST


On Mon, 12 Oct 2026 at 17:04, Alexander Potapenko <glider@xxxxxxxxxx> wrote:
>
> > rust/bindings/bindings_helper.h | 1 +
> > rust/kernel/Kconfig.test | 11 +++
> > rust/kernel/kcsan_test.rs | 120 ++++++++++++++++++++++++++++++++
> > rust/kernel/lib.rs | 2 +
> > 5 files changed, 135 insertions(+)
> > create mode 100644 rust/kernel/kcsan_test.rs
>
> FWIW `make rustfmtcheck` fails for me on kcsan_test.rs

Oops. I guess we'll make a v2.