Re: [PATCH 1/2] kbuild: rust: preserve unreachable traps with inline helpers
Miguel Ojeda <[email protected]>
| Newsgroups | org.kernel.vger.rust-for-linux,org.kernel.vger.linux-kbuild,org.kernel.vger.stable |
|---|---|
| Message-ID | <CANiq72=tKp2LBq8ThjRRZ=q+VPb9F3Sg=v1yrVZ2dpWPC2SE8g@mail.gmail.com> |
On Tue, Aug 18, 2026 at 5:18 AM Josh Poimboeuf <[email protected]> wrote: > > FWIW, I've been working on some patches that should hopefully let us get > rid of all the objtool hard-coded noreturn lists altogether. I'll try to post > those soon. Echoing Gary's +1: a good solution for this would be very welcome. I have added a link to your message in: https://github.com/Rust-for-Linux/linux/issues/355 since it is one more possible alternative, which means we wouldn't need upstream Rust to provide that `noreturn`-symbol list in such a case. Thanks! Cheers, Miguel