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

From: Danilo Krummrich

Date: Sat Feb 14 2026 - 08:52:00 EST


On Sat Feb 14, 2026 at 1:49 PM CET, Benno Lossin wrote:
> With a fixed compiler these two would also still compile. It's just that
> the callbacks will only ever be called with `T: 'static`, since that is
> a bound on `[Threaded]Registration`, which stores these functions in the
> C side. So from a purely no-compile-error perspective, 29e16fcd67ee is
> the correct fixes. But from a "good API design" perspective, we could
> choose the two other commits.

Makes sense, I will add

Fixes: 29e16fcd67ee ("rust: irq: add &Device<Bound> argument to irq callbacks")

then.

Thanks,
Danilo