Re: [PATCH v2 1/7] rust: build_assert: add instructions for use with function arguments
From: Miguel Ojeda
Date: Sun Nov 30 2025 - 16:56:31 EST
On Sun, Nov 30, 2025 at 10:44 PM John Hubbard <jhubbard@xxxxxxxxxx> wrote:
>
> Very interesting. So by adding a partially faulty build_assert!() call,
> these functions were actually wrong when they created! Maybe a Fixes:
> tag is warranted.
To clarify: it is the lack of optimization in certain configs (-Os,
CLIPPY=1...) as well as possibly certain code patterns that may
trigger it, not that the calls were faulty (note that `always` doesn't
guarantee it either anyway).
Daniel suggested Fixes in #0 -- if any of these trigger a build error
(like the `Bounded` one), then yeah. Cc: stable@ too.
Thanks!
Cheers,
Miguel