[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72kZBw5J_S03bLC--iNXqRhNk=5+Vd+MFpB-stZ=SdKZUA@mail.gmail.com>
Date: Sun, 31 Mar 2024 21:50:49 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Alice Ryhl <aliceryhl@...gle.com>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Wedson Almeida Filho <wedsonaf@...il.com>, Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>, Andreas Hindborg <a.hindborg@...sung.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rust: don't select CONSTRUCTORS
On Fri, Mar 8, 2024 at 10:37 AM Alice Ryhl <aliceryhl@...gle.com> 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@...gle.com>
Applied to `rust-fixes` and marked for stable too -- thanks everyone!
Cheers,
Miguel
Powered by blists - more mailing lists