Re: [PATCH] rust: ptr: replace unneeded use of `build_assert`
From: Alexandre Courbot
Date: Fri Jan 16 2026 - 22:17:00 EST
On Wed Dec 17, 2025 at 10:22 PM JST, Alice Ryhl wrote:
> 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>
Miguel, are you comfortable taking this through the Rust tree for this
cycle?