Bug 1321696 - Require rust 1.13 with --enable-rust. r=chmanchester
authorRalph Giles <giles@mozilla.com>
Thu, 01 Dec 2016 17:35:52 -0800
changeset 325153 02aa6ad54a6ecd18d1e9d5f219f12ac74a8db9e6
parent 325152 0a1c6a0b270dc6b13b819731d1eac28a02b36a46
child 325154 30afe7e8fb7115df44796764ea85d784797e135a
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewerschmanchester
bugs1321696, 1320425
milestone53.0a1
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
build/moz.configure/rust.configure
--- 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.