Re: [PATCH 13/13] docs: rust: quick-start: add section on Linux distributions
From: Andrea Righi
Date: Fri Jul 05 2024 - 02:19:30 EST
On Mon, Jul 01, 2024 at 08:36:23PM +0200, Miguel Ojeda wrote:
..
> +Debian
> +******
> +
> +Debian Unstable (Sid), outside of the freeze period, provides recent Rust
> +release and thus it should generally work out of the box, e.g.::
> +
> + apt install rustc rust-src bindgen rustfmt rust-clippy
This implicitly covers Ubuntu, since packages are sync'ed with Debian.
In addition to that Ubuntu also provides versioned packages (such as
rustc-1.74, bindgen-0.65, etc.), so in case of special requirements
(e.g., older kernels) users should be able to install the required
version(s) using the packages provided by the distro.
Maybe it's worth mentioning as a little note, so that users are aware of
these extra packages.
Thanks,
-Andrea