Re: [PATCH] rust: irq: add `'static` bounds to irq callbacks

From: Danilo Krummrich

Date: Wed Feb 18 2026 - 15:36:52 EST


On Sat Feb 14, 2026 at 10:27 AM CET, Benno Lossin wrote:
> These callback functions take a generic `T` that is used in the body as
> the generic argument in `Registration` and `ThreadedRegistration`. Those
> types require `T: 'static`, but due to a compiler bug this requirement
> isn't propagated to the function. Thus add the bound. This was caught in
> the upstream Rust CI [1].
>
> Signed-off-by: Benno Lossin <lossin@xxxxxxxxxx>
> Link: https://github.com/rust-lang/rust/pull/149389 [1]

As discussed, this will go through the Rust tree -- thanks Miguel!

Acked-by: Danilo Krummrich <dakr@xxxxxxxxxx>