On Wed, Jun 11, 2025 at 7:24 PM Burak Emir <[email protected]> wrote: > > I could not get kunit to enable RUST_BITMAP_HARDENED - now I understand why! > Also added the missing test now, exercised the code and observed the > fault (though [should_panic] does not seem to work).
Yeah, `should_panic` is not supported. Note that `assert!`s maps back to KUnit in doctests and `#[test]`s, so you should not need it for assertions anyway, i.e. you should see a KUnit assertion failure like in C if the assert is not correct. I hope that helps. Cheers, Miguel
