Allow to build with cargo in Debian unstable
authorMike Hommey <mh@glandium.org>
Thu, 9 Jun 2022 21:22:33 +0000 (06:22 +0900)
committerMike Hommey <glandium@debian.org>
Tue, 18 Oct 2022 20:04:39 +0000 (21:04 +0100)
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Allow-to-build-with-cargo-in-Debian-unstable.patch

build/moz.configure/rust.configure

index e64dc5d5ecc88b631937d6767caad3f8ab4c0fcc..10c8947bc071ee8bd6a7eca1ab83b23191dc0eb4 100644 (file)
@@ -171,7 +171,7 @@ def rust_compiler(rustc_info, cargo_info, target):
             )
         )
     rustc_min_version = Version(MINIMUM_RUST_VERSION)
-    cargo_min_version = rustc_min_version
+    cargo_min_version = Version("1.56.0")
 
     version = rustc_info.version
     is_nightly = "nightly" in version.version