Re: [PATCH v13 2/6] rust: introduce module_param module
From: Miguel Ojeda
Date: Mon Jun 23 2025 - 08:41:09 EST
On Mon, Jun 23, 2025 at 1:48 PM Benno Lossin <lossin@xxxxxxxxxx> wrote:
>
> Another way would be to use a `Once`-like type (does that exist on the C
> side?) so a type that can be initialized once and then never changes.
There are `DO_ONCE{,_SLEEPABLE,_LITE}`.
Cheers,
Miguel