Re: [PATCH 02/12] rust: num: reject Bounded::shr overshifts at build time

From: Alexandre Courbot

Date: Sat Aug 08 2026 - 22:12:59 EST


On Sat Aug 8, 2026 at 2:12 AM JST, Miguel Ojeda wrote:
> On Fri, Aug 7, 2026 at 4:03 PM Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>>
>> Indeed it looks like this would panic with the kernel build, and can be
>> easily caught at build-time since `SHIFT` is a constant.
>>
>> Acked-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
>
> Do you want me to take it this cycle? And maybe the next one too?

If this works for you it would remove them off the plate. OTOH I don't
think we will have another user besides PRAMIN for the short term, so
next cycle together with the rest of the series would work as well, as
long as they are merged into the same tree.

Thanks!
Alex.