Bug 1321696 - Require rust 1.13 with --enable-rust. r?chmanchester
Bug 1320425 using the '?' operator stabilized in rust 1.13.0.
Update the minimum supported version to reflect this.
MozReview-Commit-ID: 3HKrhfNavEZ
--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
@@ -56,17 +56,17 @@ def rust_compiler(value, rustc, rustc_in
Rust compiler not found.
To compile rust language sources, you must have 'rustc' in your path.
See https//www.rust-lang.org/ for more information.
You can install rust by running './mach bootstrap'
or by directly running the installer from https://rustup.rs/
'''))
version = rustc_info.version
- min_version = Version('1.10')
+ min_version = Version('1.13')
if version < min_version:
die(dedent('''\
Rust compiler {} is too old.
To compile Rust language sources please install at least
version {} of the 'rustc' toolchain and make sure it is
first in your path.