Mercurial's minimum Rust version
Augie Fackler
raf at durin42.com
Thu Apr 28 15:49:37 UTC 2022
Oh, interesting. Maybe we could get away with "whatever MSRV Firefox uses"
as a baseline?
On Thu, Apr 28, 2022 at 10:38 AM Julien Cristau <jcristau at debian.org> wrote:
> On Thu, Apr 28, 2022 at 10:29:21AM -0400, Augie Fackler wrote:
> > I think Debian (at least) has a mechanism to build packages with a newer
> rustc than they actually distribute.
> >
> I don't think we do. :)
>
> E.g. we had to add a rustc-mozilla package to Debian stable when moving
> from firefox ESR 78 to 91.
>
> Julien
>
> > (Note that both your messages got marked as spam for me!)
> >
> > > On Apr 27, 2022, at 5:56 AM, Raphaël Gomès <raphael.gomes at octobus.net>
> wrote:
> > >
> > > Hi all,
> > >
> > > (Sorry in advance if this mail is a duplicate, we've had trouble with
> our mailing lists in the past few days)
> > >
> > > Mercurial has had Rust code for a few years now. Parts of it used as
> native extensions to the Python code and others as standalone executables
> for speed. Some distros have packaged the Rust versions in the past and we
> expect more to do so in the future.
> > >
> > > The current policy for the minimum Rust version in Mercurial is to
> follow that of Debian Stable. The idea behind the policy is to have a
> relatively... stable version that should enable most users and distros to
> use our Rust code without relying on an external toolchain like Rustup, and
> ease the integration with downstream crates like Ripgrep (only as an
> example, no effort has been made yet).
> > >
> > > Some Mercurial contributors feel like this policy needs to change
> because it prevents us from upgrading some of our dependencies most of all,
> but also because we miss out on some niceties in the language (I am not
> aware of any major changes like async/await was before).
> > >
> > > TLDR: does anyone care if we change our minimum Rust version policy to
> a faster moving target ? Likely Debian Testing, but that's just one idea.
> > >
> > > Thanks,
> > > Raphaël
> > >
> > > _______________________________________________
> > > Mercurial-packaging mailing list
> > > Mercurial-packaging at mercurial-scm.org
> > > https://www.mercurial-scm.org/mailman/listinfo/mercurial-packaging
> >
> > _______________________________________________
> > Mercurial-packaging mailing list
> > Mercurial-packaging at mercurial-scm.org
> > https://www.mercurial-scm.org/mailman/listinfo/mercurial-packaging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-packaging/attachments/20220428/58489824/attachment-0002.html>
More information about the Mercurial-packaging
mailing list