Re: Migration to Debian Bookworm and compiler updates for KernelCI

Miguel Ojeda <[email protected]>
Newsgroups dev.linux.lists.kernelci,dev.linux.lists.llvm
Message-ID <CANiq72mFt0qXPky2TWqG4CiuqH-9Cg6W53pMf6iQnEXQdi3Lnw@mail.gmail.com>
On Mon, Mar 11, 2024 at 8:10 PM Guillaume Tucker <[email protected]> wrote:
>
> Out of interest, is there going to be some Rust toolchains there
> as well?  Having all the reference toolchains to build the kernel
> in a single location would be great I think.  Of course Rust
> support is still a moving target, so maybe it's still a bit too
> early right now - just wondering.

Nathan and I were talking about what could be done in that regard some days ago.

My proposal was essentially providing a Rust toolchain per kernel
release that is currently supported, e.g. one for each LTS, one for
stable, one for mainline, one for next... Each of those based on
Nathan's LLVM builds (given they are already very well optimized for
kernel builds etc.), possibly applying the Rust-side patches to LLVM
and using the same LLVM major that Rust used for that release.

Eventually, when we start supporting several Rust versions in the
kernel, it should be possible to move in other directions too.

Cheers,
Miguel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.