Bug 1496619 - Part 5: Bump cbindgen to 0.6.6 r=emilio
authorBoris Chiou <boris.chiou@gmail.com>
Fri, 26 Oct 2018 18:03:33 +0000
changeset 443234 5b744b960fe0280854c3129aa26b7894083ef632
parent 443233 d6e5970c62be7bd99d250d0a43e012ee159829b8
child 443235 79675a8112d6e66dd4c1d17985ff2c70f0378ee2
push id34944
push userncsoregi@mozilla.com
push dateSat, 27 Oct 2018 09:49:55 +0000
treeherdermozilla-central@49d47a692ca4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1496619
milestone65.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 1496619 - Part 5: Bump cbindgen to 0.6.6 r=emilio So we can generate generic enum by cbindgen (for TimingFunction). Depends on D9845 Differential Revision: https://phabricator.services.mozilla.com/D9312
build/moz.configure/rust.configure
taskcluster/scripts/misc/build-cbindgen.sh
--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
@@ -289,17 +289,17 @@ cbindgen = check_prog('CBINDGEN', add_ru
                       when=depends(build_project)
                       (lambda build_project: build_project != 'js'))
 
 
 @depends_if(cbindgen)
 @checking('cbindgen version')
 @imports(_from='textwrap', _import='dedent')
 def cbindgen_version(cbindgen):
-    cbindgen_min_version = Version('0.6.4')
+    cbindgen_min_version = Version('0.6.6')
 
     # cbindgen x.y.z
     version = Version(check_cmd_output(cbindgen, '--version').strip().split(" ")[1])
 
     if version < cbindgen_min_version:
         die(dedent('''\
         cbindgen version {} is too old. At least version {} is required.
 
--- a/taskcluster/scripts/misc/build-cbindgen.sh
+++ b/taskcluster/scripts/misc/build-cbindgen.sh
@@ -1,14 +1,14 @@
 #!/bin/bash
 set -x -e -v
 
 # If you update this, make sure to update the minimum version in
 # build/moz.configure/rust.configure and python/mozboot/mozboot/osx.py as well.
-CBINDGEN_VERSION=v0.6.4
+CBINDGEN_VERSION=v0.6.6
 TARGET="$1"
 
 case "$(uname -s)" in
 Linux)
     WORKSPACE=$HOME/workspace
     UPLOAD_DIR=$HOME/artifacts
     COMPRESS_EXT=xz
     ;;