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 308767 ff7143a7f30fe286f6b353c44b152c4d3c599b17
parent 308766 626f8cc8b7bc7d983cfa378ffd4ad5753c142225
child 308768 03fbe28e5a1084a2496fdae846b10c607434bdc7
push id80410
push usernfroyd@mozilla.com
push dateTue, 09 Aug 2016 14:12:03 +0000
treeherdermozilla-inbound@a5fdb733058b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester
bugs1268727
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)))