** Changed in: rust-defaults (Ubuntu)
Status: In Progress => New
** Description changed:
- The target default Rust version for 26.04 shall be Rust 1.93.
+ ## FFE ##
+ =========
+ Rationale
+ =========
+ The toolchain team committed to making 1.93 the default Rust version
+ for 26.04. Apart from giving users access to the most up-to-date Rust
+ toolchain available, there are also the following notable changes
+ specific to the Ubuntu package:
+ - 1.93 ships a new binary package, rust-miri, which allows packagers to
+ integrate undefined behaviour checks into their package tests.
+ - 1.93 includes optional cargo-auditable functionality, which allows
+ Rust packagers to opt in to generating SBOMs embedded into the
+ distributed binaries.
+
+ This change is expected to have minimal disruption on the distro itself,
+ as the jump from 1.92 to 1.93 is small compared to the previous jump of
+ 1.88 to 1.92. The main reason for this FFe in the first place is the
+ inclusion of opt-in-only features that don't affect normal toolchain
+ behaviour.
+
+ ================
+ Proposed Changes
+ ================
+ - rust-defaults now points to rustc-1.93 instead of rustc-1.92, meaning
+ that future Rust package builds will use Rust 1.93 instead of 1.92.
+ * The upstream Rust team maintains a strict policy of backwards
+ compatibility, meaning that any future rebuilds of packages are
+ expected to work without issue.
+ * Since Rust applications are statically linked, updating the default
+ toolchain version won't trigger any rebuilds. It will only affect
+ subsequent builds of Rust packages.
+ - The rust-miri binary package has been added.
+ * This is a purely additive addition; none of the other binary
+ packages are affected in any way.
+ * Usage of miri itself is unstable and the binary package is new, but
+ since it is separate from the other packages and entirely optional,
+ regression potential is minimal.
+
+ ================
+ seeded-in-ubuntu
+ ================
+ $ seeded-in-ubuntu rust-defaults
+ cargo-doc (from rust-defaults) is seeded in:
+ ubuntu-budgie: supported
+ libstd-rust-dev (from rust-defaults) is seeded in:
+ ubuntu-budgie: supported
+ ubuntu: supported
+ rust-doc (from rust-defaults) is seeded in:
+ ubuntu-budgie: supported
+
+ ==========
+ PPA builds
+ ==========
+ This package builds for all architectures in a PPA:
+ https://launchpad.net/~maxgmr/+archive/ubuntu/rust-defaults-1.93/+packages
+
+ ============
+ autopkgtests
+ ============
+ amd64:
https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-maxgmr-rust-defaults-1.93/resolute/amd64/r/rust-defaults/20260317_225656_016c2@/log.gz
+ arm64:
https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-maxgmr-rust-defaults-1.93/resolute/arm64/r/rust-defaults/20260317_230551_a90b0@/log.gz
+ armhf:
https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-maxgmr-rust-defaults-1.93/resolute/armhf/r/rust-defaults/20260317_224824_504b1@/log.gz
+ ppc64el:
https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-maxgmr-rust-defaults-1.93/resolute/ppc64el/r/rust-defaults/20260317_230134_597bc@/log.gz
+ s390x:
https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-maxgmr-rust-defaults-1.93/resolute/s390x/r/rust-defaults/20260317_224845_f1a1b@/log.gz
+
+ =======
+ Lintian
+ =======
+ $ lintian
+ [empty output; no warnings or errors]
+
+ ==============================
+ Installation and local testing
+ ==============================
+ (after enabling proposed)
+ root@r:~# add-apt-repository -y ppa:maxgmr/rust-defaults-1.93
+ [...]
+ root@r:~# apt install cargo
+ [...]
+ root@r:~# cargo --version
+ cargo 1.93.1 (083ac5135 2025-12-15) (built from a source tarball)
+ root@r:~# cargo new hello && cd hello
+ Creating binary (application) `hello` package
+ note: see more `Cargo.toml` keys and their definitions at
https://doc.rust-lang.org/cargo/reference/manifest.html
+ root@r:~/hello# cargo-unstable-miri run
+ warning: invoking version-pinned Miri; this breaks Rust's usual stability
guarantees
+ warning: report issues to the package maintainers, not the upstream developers
+ Preparing a sysroot for Miri (target: x86_64-unknown-linux-gnu)... done
+ Compiling hello v0.1.0 (/root/hello)
+ Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
+ Running `/usr/lib/rust-1.93/bin/cargo-miri runner
target/miri/x86_64-unknown-linux-gnu/debug/hello`
+ Hello, world!
+ root@r:~/hello# cargo run
+ Compiling hello v0.1.0 (/root/hello)
+ Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
+ Running `target/debug/hello`
+ Hello, world!
** Patch added: "Upstream changelog diff between Rust 1.92 and Rust 1.93"
https://bugs.launchpad.net/ubuntu/+source/rust-defaults/+bug/2138519/+attachment/5953682/+files/changelog-1.93.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138519
Title:
[FFE] Upgrade Rust to 1.93.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-defaults/+bug/2138519/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs