[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72n=dF4Zzpoq9zpQ_Baapy_MXYJh3OHkuDRAySCThCh6Pw@mail.gmail.com>
Date: Thu, 4 Jul 2024 17:22:32 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Andreas Hindborg <nmi@...aspace.dk>
Cc: Miguel Ojeda <ojeda@...nel.org>, Wedson Almeida Filho <wedsonaf@...il.com>,
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@...sung.com>,
Alice Ryhl <aliceryhl@...gle.com>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...ts.linux.dev,
Jonathan Corbet <corbet@....net>, workflows@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH 06/13] rust: start supporting several compiler versions
On Wed, Jul 3, 2024 at 7:20 PM Andreas Hindborg <nmi@...aspace.dk> wrote:
>
> This does not set a max version. Will older versions of the kernel
> always compile with newer releases of `rustc`?
That depends on how many changes Rust introduces around the remaining
unstable features (as well as plain bugs in new versions, like for any
other tool). With the kernel being tested in the Rust pre-merge CI,
hopefully we will reduce those to a minimum.
It is also why we need to keep reducing the unstable features and get
into stable Rust as soon as possible. The Rust project is starting to
support us more here, and they are setting up a project goal for
2024h2 on their side to resolve the biggest blockers for the kernel:
https://rust-lang.github.io/rust-project-goals/2024h2/rfl_stable.html
Meanwhile, on our side, we can do our best to backport any workarounds
for new versions into supported kernels, i.e. stable and LTSs.
But, at least, this series should already help kernel developers (they
will be able to compile the kernel with Rust enabled using their
distribution) and Linux distributions (they will have more freedom to
pick a Rust toolchain version and avoid having to package another
version just for the kernel).
Cheers,
Miguel
Powered by blists - more mailing lists