[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chromium and rustc in bookworm





On 1/22/24 15:34, Mike Hommey wrote:
On Mon, Jan 22, 2024 at 03:39:08AM +0200, Adrian Bunk wrote:
On Sun, Jan 21, 2024 at 06:55:31PM -0500, Andres Salomon wrote:
...

c) Much like the Firefox maintainer(s) created rustc-mozilla for
(old)oldstable, we create a 'rustc-chromium' package for bookworm. It could
even be used for Firefox if their ESR updates start needing newer Rust
language features (in which case, maybe 'rustc-newer' or 'rustc-browsers' is
a better name for it? Or like Clang, include the major version and call it
'rustc-1.70').


As I'm still messing around with bookworm's rustc(+profiler) as well as
trying to get Chromium 121.x to build in Sid, I don't have a strong opinion
on this yet. However, I wanted to bring it to everyone's attention, and see
if anyone else did have strong opinions either way. If one of the teams
feels strongly against option (b) for example, I won't bother continuing to
work on that option.

IMHO c) would be best, with one rustc-* package shared for both browsers.

AFAIK rustc 1.78 (to be released in May) will be required by the next
Firefox ESR 128, and bookworm will switch to 128 in September/October.

At this point, there is no saying which specific version will be
required, but the one thing that is sure is that it will be at least
1.70. If I had to guess, I'd say it might be 1.75, but so far, it looks
like it might as well stay 1.70.

Interestingly, 1.70 is what we currently have in unstable, which means
unstable is > 6 months outdated already.

Mike

Sounds like (c) is the winner. Now for the bikeshedding - rustc-browsers? rustc-backport? rustc-unstable?

As far as release cadence, at least from my end if firefox-esr needs a newer rustc backport then chromium will be able to quickly adjust. We have almost weekly security updates, which can be adapted to work with a newer rustc. In the other direction, I'm expecting/hoping that we can just manually enable experimental features in chromium crates until a newer rustc is absolutely necessary. As with clang, I expect that would be roughly every 12-18 months.

Attachment: OpenPGP_0x645D0247C36E7637.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: