Re: [PATCH] rust: don't select CONSTRUCTORS

From: Miguel Ojeda
Date: Sun Mar 31 2024 - 15:51:36 EST


On Fri, Mar 8, 2024 at 10:37 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> This was originally part of commit 4b9a68f2e59a0 ("rust: add support for
> static synchronisation primitives") from the old Rust branch, which used
> module constructors to initialize globals containing various
> synchronisation primitives with pin-init. That commit has never been
> upstreamed, but the `select CONSTRUCTORS` statement ended up being
> included in the patch that initially added Rust support to the Linux
> Kernel.
>
> We are not using module constructors, so let's remove the select.
>
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

Applied to `rust-fixes` and marked for stable too -- thanks everyone!

Cheers,
Miguel