Re: [PATCH] rust: ptr: replace unneeded use of `build_assert`

From: Miguel Ojeda

Date: Mon Jan 19 2026 - 03:20:26 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>

Applied to `rust-next` -- thanks everyone!

Cheers,
Miguel