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.6.0esr-1_deb11u1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3c332c9a96fcd0a9cdc8158e433678b1d286c1bb;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