What is the update cadence of the rustc package?

Asked by paulcd2000

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

English Edit question
Ubuntu rustc Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :

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
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
Hope that this will help.

Revision history for this message
Best Manfred Hampl (m-hampl) said :

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

Revision history for this message
paulcd2000 (paulcd2000) said :

Understood, thank you!

Revision history for this message
paulcd2000 (paulcd2000) said :

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Manfred Hampl (m-hampl) said :

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-*

Revision history for this message
Bernard Stafford (bernard010) said :

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

Revision history for this message
Bernard Stafford (bernard010) said :

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.