Re: [PATCH v2 3/3] rust: bitmap: kunit: uncomment owned_bitmap_out_of_bounds panic case
From: Burak Emir
Date: Sun Nov 08 2026 - 14:14:44 EST
On Thu, Oct 29, 2026 at 5:59 PM Nicolás Antinori via B4 Relay
<devnull+nico.antinori.7.gmail.com@xxxxxxxxxx> wrote:
>
> From: Nicolás Antinori <nico.antinori.7@xxxxxxxxx>
>
> Rust KUnit tests now support `#[should_panic]` attribute. Uncomment the
> test so it can be run when CONFIG_RUST_BITMAP_HARDENED=y.
>
> Signed-off-by: Nicolás Antinori <nico.antinori.7@xxxxxxxxx>
Reviewed-by: Burak Emir <burak.emir@xxxxxxxxx>
Thank you for implementing this TODO, Nicolas!
Testing panic behavior is useful, not just for ensuring that it meets
the specification but also ensuring that changes preserve the
behavior.
cheers,
Burak