Re: [PATCH v3 3/7] rust: cpufreq: always inline functions using build_assert with arguments

Miguel Ojeda
2025-12-09T01:02:07Z

On Mon, Dec 8, 2025 at 2:55 PM Gary Guo <gary@garyguo.net> wrote:
>
> ? If so, I can send a patch that adds this feature.

Sounds like `consteval` in C++20, which is useful from time to time.

If we add it, then the attribute form may make a bit more "sense"
conceptually (and we already also added the `export` one).

Cheers,
Miguel