Re: [PATCH] rust: num: reject bool conversion to signed one-bit Bounded

Miguel Ojeda <[email protected]>
Newsgroups org.kernel.vger.rust-for-linux,org.kernel.vger.stable
Message-ID <CANiq72mDbUzggU3uEK=DDQCxLr7Gzr3sFTCUUewt0XS_pJ-tdQ@mail.gmail.com>
On Sat, Aug 15, 2026 at 4:56 PM Younes Akhouayri <[email protected]> wrote:
>
> I tested this in a Linux Docker container with Rust 1.85.0 and two CPUs,
> alternating 50 builds of `rust/kernel.o` for the parent and v1.
>
> The difference was 1.16 ms (0.066%), similar to the identical-source
> control at 0.96 ms. So I could not measure a clear slowdown from the
> patch.

Great, thanks for testing that!

Cheers,
Miguel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.