On 9/10/25 6:54 AM, Alexandre Courbot wrote:
On Wed Sep 10, 2025 at 7:00 PM JST, Miguel Ojeda wrote:
On Wed, Sep 10, 2025 at 7:45 AM Alexandre Courbot <acour...@nvidia.com> wrote:
...> Build errors on such panic sites insertions, with the option to relax
the rule locally if a justifying SAFETY comment is provided? And as you
said, what do we do if a panic can be removed through a particular
optimization - does it become mandatory to build the kernel? Is it
applicable to all architectures and (in the future) all supported
compilers?

We have a very solid precedent for that: building the kernel already
requires -O2 optimization for *functional* correctness.

So Rust for Linux certainly can specify a certain set of build
options that are required--including options that are normally
considered optimizations.

thanks,
--
John Hubbard

Reply via email to