Bug 1268727 - part 1 - update Rust requirement to 1.10; r=chmanchester
We need Rust 1.10 to support the -C panic=abort flag and the
corresponding bits in cargo.
--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
@@ -49,17 +49,17 @@ def rust_compiler(value, rustc, rustc_in
if value:
if not rustc:
die(dedent('''\
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.
'''))
version = rustc_info.version
- min_version = Version('1.5')
+ min_version = Version('1.10')
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.
You can verify this by typing 'rustc --version'.
'''.format(version, min_version)))