On 2021-02-05 12:02:31 +0100, Sylvestre Ledru wrote:
> Hello,
> 
> Le 05/02/2021 à 11:57, Vincent Lefevre a écrit :
> > On 2021-02-05 10:22:44 +0200, jim_p wrote:
> > > I just read in r/debian that ff 85 needs a newer version of cargo.
> > > Guess we are now waiting for it...
> > But it seems that cargo 0.48 will not be available for months
> > due to the upcoming bullseye. The only chance is a less strict
> > dependency (possibly with disabled new features?).
> > 
> Yeah, this is an option. We are not sure Firefox really needs this
> version of Cargo.

I wonder where the information comes from. In the Firefox repository,
/usr/local/opt/oppython/mozbuild/mozbuild/vendor/vendor_rust.py has

    def check_cargo_version(self, cargo):
        """
        Ensure that cargo is new enough. cargo 1.42 fixed some issue with
        the vendor command. cargo 1.47 similarly did so for windows, but as of
        this writing is the current nightly, so we restrict this check only to
        the platform it's actually required on
        """
[...]
        if platform.system() == "Windows":
[...]
        elif version < "1.42":
            self.log(
                logging.ERROR,
                "cargo_version",
                {},
                "Cargo >= 1.42 required (install Rust 1.42 or newer)",
            )
            return False

(I suppose that 1.42 is 0.42 in Debian, and so on).

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to