What is the update cadence of the rustc package?

Asked by paulcd2000 on 2021-04-23

I'm currently developing a project using Rust, and I want to do the installation of rustc and cargo using the ubuntu packages for build repeatability reasons. However, a feature that I'd like to use is present in 1.48.0, while the current rust version in the packages is 1.47.0. How often do new versions of the compiler make it into packages?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu rustc Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Bernard Stafford (bernard010) said : #1

Packaging is usually changed when Debian changes their package. Ubuntu is derived from Debian.
However, for this instance Ubuntu has the 1.47.0 package as your post said. Debian has an old version 1.41.1
https://packages.ubuntu.com/focal/rustc
In the packaging I noticed that cargo is not included, listed as a recommended package.
On Rust homepage: https://www.rust-lang.org/ Their is a new version 1.51.0
https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1510-2021-03-25
Hope that this will help.
Thanks

Best Manfred Hampl (m-hampl) said : #2

Normally: Never.

Ubuntu is no rolling release. This means that package versions usually are not updated to higher versions than the one initially provided with a certain Ubuntu release.
Newer package versions are provided only with newer Ubuntu releases (e.g. ubuntu groovy and hirsute have rustc version 1.50.0-*)
There are exceptions to this rule, e.g. a limited list of packages like kernel, timezone information, Firefox, and in case that severe weaknesses and/or bugs in a package justify an upgrade.

The case for upgrading rustc to 1.47.0-* was such exception, see Bug #1901571

paulcd2000 (paulcd2000) said : #3

Understood, thank you!

paulcd2000 (paulcd2000) said : #4

Thanks Manfred Hampl, that solved my question.

Manfred Hampl (m-hampl) said : #5

Remark: Correction ty my comment #2, not groovy and hirsute, but hirsute and impish have version 1.50.0-*.
Groovy is also on 1.47.0-*

Bernard Stafford (bernard010) said : #6

Bernard Stafford suggests this article as an answer to your question:
FAQ #3037: “no rolling release”.

Bernard Stafford (bernard010) said : #7

Packaging does not update with each new revision of each package.
Only new releases contain the current version of each package.
Which the FAQ should state.