From: Mike Hommey Date: Fri, 5 Feb 2021 22:52:19 +0000 (+0900) Subject: Allow to build with cargo in Debian unstable X-Git-Tag: archive/raspbian/91.11.0esr-1_deb11u1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5e8e3432e22c5d6191b18f6a1f794a950ef53d5b;p=firefox-esr.git Allow to build with cargo in Debian unstable Gbp-Pq: Topic debian-hacks Gbp-Pq: Name Allow-to-build-with-cargo-in-Debian-unstable.patch --- diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure index cd77d72bb77..eb7bbf760de 100644 --- a/build/moz.configure/rust.configure +++ b/build/moz.configure/rust.configure @@ -171,7 +171,7 @@ def rust_compiler(rustc_info, cargo_info): ) ) rustc_min_version = Version(MINIMUM_RUST_VERSION) - cargo_min_version = rustc_min_version + cargo_min_version = Version("1.46.0") version = rustc_info.version is_nightly = "nightly" in version.version