[Bug 2049493] Re: Newer rustc version needed in jammy to build chromium updates

Zixing Liu 2049493 at bugs.launchpad.net
Thu Jan 18 22:19:45 UTC 2024


> I.e., is there an increased risk in using RUSTC_BOOTSTRAP in a
non-nightly compiler (the proposed case for us downstream) in comparison
to using the unstable options in a nightly compiler (what upstream does)?

Normally, it is not. Rust compilers, even in the stable channel, include
the complete logic of a nightly compiler. The logic is disabled by
default during the runtime when the compiler is in the stable channel.

The reason why the variable is called "RUSTC_BOOTSTRAP" is that this
functionality is usually required when building the next version of the
Rust compiler. In this case, the Rust compiler needs to understand newer
syntax unavailable in the previous version.

I hope my explanation makes sense.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc in Ubuntu.
https://bugs.launchpad.net/bugs/2049493

Title:
  Newer rustc version needed in jammy to build chromium updates

Status in chromium-browser package in Ubuntu:
  New
Status in rustc package in Ubuntu:
  New

Bug description:
  The next chromium version is making rustc mandatory to build. Chromium
  is a snap built from core22 so using the jammy packages, the build is
  currently failing because it needs libprofiler_builtins.rlib which
  isn't available.

  Upstream provides toolchain builds that can be used but only for amd64 so currently the snap is failing to build on arm
  https://launchpad.net/~chromium-team/+snap/chromium-snap-from-source-beta

  The version upstream is using is 1.75 but it's possible that a lower
  version would be enough for now if libprofiler was enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2049493/+subscriptions




More information about the foundations-bugs mailing list