Upgrade Rust to 1.70.0

Bug #2027639 reported by Zixing Liu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rustc (Ubuntu)
Fix Released
Medium
Zixing Liu

Bug Description

Upgrade Rust to 1.70.0.

Notable changes from upstream:

- OnceLock and OnceCell are now stabilized in the standard library. You no longer need to rely on an external crate for lazy initialized values.
- Sparse registry is now enabled by default. No more waiting on the crates index updates!
- std::io::IsTerminal is now stabilized in the standard library. Now you can determine whether a tty is attended without an external library!
- Many APIs in the networking space are stabilized in the standard library.

Changed in rustc (Ubuntu):
assignee: nobody → Zixing Liu (liushuyu-011)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rustc (Ubuntu):
status: New → Confirmed
Revision history for this message
Zixing Liu (liushuyu-011) wrote :

I have prepared preliminary packages in a PPA: https://launchpad.net/~liushuyu-011/+archive/ubuntu/rust-updates-1.70/+packages.
And also, its corresponding source at https://git.launchpad.net/~canonical-foundations/ubuntu/+source/rustc/tree/?h=merge-1.70.
You can find the autopkgtest results on this page: https://autopkgtest.ubuntu.com/results/autopkgtest-mantic-liushuyu-011-rust-updates-1.70/?format=plain.

Please note that this version requires LLVM 16 (you can find a copy of LLVM 16 in that PPA, which was copied from mantic-proposed).

Changed in rustc (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Zixing Liu (liushuyu-011) wrote :

Lintian output for 1.70:

E: rustc source: field-too-long Vendored-Sources-Rust (9776 chars > 5000)
W: rustc source: bad-exception-format-in-dep5-copyright apache-2.0 with llvm-exception [debian/copyright:2412]
W: rustc source: bad-exception-format-in-dep5-copyright apache-2.0 with llvm-exception [debian/copyright:2442]
W: rustc source: mismatched-override missing-license-paragraph-in-dep5-copyright debian/copyright mpl-2.0+ [debian/source/lintian-overrides:15]
W: rustc source: missing-license-paragraph-in-dep5-copyright apache-2.0 with llvm-exception [debian/copyright:2442]
W: rustc source: missing-license-paragraph-in-dep5-copyright mpl-2.0+ [debian/copyright:1966]
W: rustc source: unknown-field Vendored-Sources-Rust
N: 0 hints overridden; 1 unused override
N: Some overrides were ignored.
N: Use --verbose for more information.
Finished running lintian.

Changed in rustc (Ubuntu):
importance: Undecided → Medium
Changed in rustc (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rustc - 1.70.0+dfsg0ubuntu1-0ubuntu1

---------------
rustc (1.70.0+dfsg0ubuntu1-0ubuntu1) mantic; urgency=medium

  * New upstream release 1.70.0 (LP: #2027639)
    - d/patches: Refresh patches
    - Upgraded LLVM to 16
  * d/patches/d-0000-ignore-removed-submodules.patch: Remove newly added Miri
    parts
  * d/patches/ubuntu-downgrade-libgit2-to-1.5.patch: Downgrade libgit2
    requirements to 1.5, since we don't have 1.6 in stable yet
  * d/patches/d-0002-mdbook-strip-embedded-libs.patch: Remove newly added
    mdbook bundled resources
  * d/patches/ubuntu-use-system-compiler-during-tests.patch: Avoid the need of
    downloaded rustc binaries during the bootstrapping tests
  * d/rust-src.install: Fix the config.example.toml installation, because the
    file name changed in Rust 1.70
  * d/patches/ubuntu-disable-fpmath-tests-for-i386.patch: Disable a test for
    testing machine epsilon, which x87 math is too inaccurate to pass the test
  * d/source/lintian-overrides: update overriden paths for doc-tests

 -- Zixing Liu <email address hidden> Thu, 13 Jul 2023 17:07:11 +0800

Changed in rustc (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.