Re: [PATCH] rust: ptr: replace unneeded use of `build_assert`
From: Alice Ryhl
Date: Wed Dec 17 2025 - 09:56:42 EST
On Tue, Dec 16, 2025 at 9:25 AM Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>
> Since `ALIGN` is a const parameter, this assertion can be done in const
> context using the `assert!` macro.
>
> Suggested-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>