Bug 1268727 - part 1 - update Rust requirement to 1.10; r=chmanchester
authorNathan Froyd <froydnj@gmail.com>
Tue, 09 Aug 2016 18:10:20 -0400
changeset 398694 ff7143a7f30fe286f6b353c44b152c4d3c599b17
parent 398693 626f8cc8b7bc7d983cfa378ffd4ad5753c142225
child 398695 03fbe28e5a1084a2496fdae846b10c607434bdc7
push id25600
push userbmo:tchiovoloni@mozilla.com
push dateTue, 09 Aug 2016 16:33:05 +0000
reviewerschmanchester
bugs1268727
milestone51.0a1
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.
build/moz.configure/rust.configure
--- 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)))