Bug 1337153 - Require rust 1.15.1. r=Ehsan
authorRalph Giles <giles@mozilla.com>
Thu, 09 Feb 2017 09:38:48 -0800
changeset 342259 6a97271a798eaba95033a783f41e8f16938025dd
parent 342258 55916d685e88b8915fdda658c8dc8f0fadb0bfb4
child 342260 7b9d9e4a82a6eed63833171d38667313081641db
child 342304 89a029b06eb14025723f7aa09f38488cee2e0a77
push id31346
push userkwierso@gmail.com
push dateFri, 10 Feb 2017 22:33:24 +0000
treeherdermozilla-central@7b9d9e4a82a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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 1337153 - Require rust 1.15.1. r=Ehsan Bump the minimum version of the rust toolchain we require to build. The 1.15 release includes support for custom #[derive] directives, letting us use the serde serialization crate without checking in a lot of generated code. This is primarily motivated by webrender and the audio remoting work, and lets us drop the heavy syntex dependency. MozReview-Commit-ID: 6IObHhouPAn
--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
@@ -45,17 +45,17 @@ def rust_compiler(rustc, rustc_info):
         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.13')
+    min_version = Version('1.15.1')
     if version < min_version:
         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.
--- a/python/mozboot/mozboot/base.py
+++ b/python/mozboot/mozboot/base.py
@@ -145,17 +145,17 @@ ac_add_options --enable-artifact-builds
 # This should match OLDEST_NON_LEGACY_VERSION from
 # the hg setup wizard in version-control-tools.
 MODERN_MERCURIAL_VERSION = LooseVersion('3.7.3')
 # Upgrade Python older than this.
 MODERN_PYTHON_VERSION = LooseVersion('2.7.3')
 # Upgrade rust older than this.
-MODERN_RUST_VERSION = LooseVersion('1.13.0')
+MODERN_RUST_VERSION = LooseVersion('1.15.1')
 class BaseBootstrapper(object):
     """Base class for system bootstrappers."""
     def __init__(self, no_interactive=False):
         self.package_manager_updated = False
         self.no_interactive = no_interactive