[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72kDuaT5082br3PBHmD5xxPpWGD1q-ro_p0DWb+ai4ZywA@mail.gmail.com>
Date: Sat, 14 Dec 2024 07:35:06 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: Alex Gaynor <alex.gaynor@...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@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...ts.linux.dev,
Christian Poveda <git@...rz.com>, Emilio Cobos Álvarez <emilio@...sal.io>
Subject: Re: [PATCH] rust: kbuild: set `bindgen`'s Rust target version
On Tue, Dec 10, 2024 at 1:09 AM Miguel Ojeda
<miguel.ojeda.sandonis@...il.com> wrote:
>
> Applied to `rust-fixes` -- thanks!
>
> I added the following note to the commit message and added a small
> sentence to the comment too:
>
> Starting with `bindgen` 0.71.0 [4], we will be able to set any future
> Rust version instead, i.e. we will be able to set here our minimum
> supported Rust version. Christian implemented it [5] after seeing this
> patch. Thanks!
>
> I also queued it for stable:
>
> Cc: stable@...r.kernel.org # needed for 6.12.y; unneeded for
> 6.6.y; do not apply to 6.1.y
> Fixes: c844fa64a2d4 ("rust: start supporting several `bindgen` versions")
This is now also needed to support `bindgen` >= 0.71.0 and higher
together with `rustc` < 1.82.0, since a week ago `bindgen`'s release
started using `unsafe extern` blocks.
Cheers,
Miguel
Powered by blists - more mailing lists