Re: [PATCH v3 1/4] rust: move `static_assert` into `build_assert`
From: Alice Ryhl
Date: Thu Mar 19 2026 - 10:09:56 EST
On Thu, Mar 19, 2026 at 12:16:45PM +0000, Gary Guo wrote:
> From: Gary Guo <gary@xxxxxxxxxxx>
>
> Conceptually, `static_assert` is also a build-time assertion that occurs
> earlier in the pipeline. Consolidate the implementation so that we can use
> this as the canonical place to add more useful build-time assertions.
>
> Reviewed-by: Yury Norov <ynorov@xxxxxxxxxx>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>