Allow to build with cargo in Debian unstable
authorMike Hommey <mh@glandium.org>
Fri, 5 Feb 2021 22:52:19 +0000 (07:52 +0900)
committerMike Hommey <glandium@debian.org>
Wed, 27 Jul 2022 00:08:20 +0000 (01:08 +0100)
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Allow-to-build-with-cargo-in-Debian-unstable.patch

build/moz.configure/rust.configure

index cd77d72bb77bf1c41126afdca2a660e7a04f1b48..eb7bbf760deb172cf6ede75a67c8010e869af3ef 100644 (file)
@@ -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