| 1 |
From: Mike Hommey <[email protected]> |
| 2 |
Date: Fri, 10 Jun 2022 06:22:33 +0900 |
| 3 |
Subject: Allow to build with cargo in Debian unstable |
| 4 |
|
| 5 |
--- |
| 6 |
build/moz.configure/rust.configure | 2 +- |
| 7 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 8 |
|
| 9 |
diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure |
| 10 |
index b92c26d..812dde1 100644 |
| 11 |
--- a/build/moz.configure/rust.configure |
| 12 |
+++ b/build/moz.configure/rust.configure |
| 13 |
@@ -180,7 +180,7 @@ def rust_compiler(rustc_info, cargo_info, target): |
| 14 |
) |
| 15 |
) |
| 16 |
rustc_min_version = Version(MINIMUM_RUST_VERSION) |
| 17 |
- cargo_min_version = rustc_min_version |
| 18 |
+ cargo_min_version = Version("1.56.0") |
| 19 |
|
| 20 |
version = rustc_info.version |
| 21 |
is_nightly = "nightly" in version.version |