Re: [PATCH v3 1/2] rust: kernel: create `overflow_assert!` macro

From: Miguel Ojeda
Date: Mon Jun 23 2025 - 05:40:38 EST


On Mon, Jun 23, 2025 at 12:54 AM Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> Ack, thanks for that. Still, I think the "any expression" version
> should allow the caller to supply a custom message.

Agreed, we should add that, like we did for `static_assert!` recently.

Cheers,
Miguel