Re: [RFC PATCH] docs: rust: quick-start: add Ubuntu
From: Miguel Ojeda
Date: Wed Sep 25 2024 - 10:25:12 EST
On Fri, Aug 16, 2024 at 8:16 PM Miguel Ojeda <ojeda@xxxxxxxxxx> wrote:
>
> This is a potential patch for the future -- Ubuntu Oracular (future
> release) works today, but the Rust versioned releases are not backported
> (yet?). If Ubuntu ends up deciding to backport them, which would be
> amazing, or at least when they start to appear in an actual release,
> then we can apply this. Thanks William & Zixing!
An update on this: Ubuntu now provides the versioned `rustc-*`
packages in older LTSs (the ones with standard support), which is
great!
I can confirm I can build the latest kernel in 20.04 LTS (using a
newer LLVM), 22.04 LTS, 24.04 LTS and 24.10.
The `bindgen-*` versioned packages are not backported (yet?) to the
older LTSs, so users need to build `bindgen` manually in 20.04 LTS and
22.04 LTS. For 24.04 LTS and 24.10, it works with the package. I will
add a sentence about that and send the non-RFC patch.
Link: https://packages.ubuntu.com/search?keywords=rustc-1
Link: https://packages.ubuntu.com/search?keywords=bindgen-0
Cheers,
Miguel