From 9bf092626ea4bd66e919a4850223eec5d1dd4497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 21 Apr 2022 17:23:39 +0000 Subject: [PATCH] Bug 1765746 - Update cbindgen again. r=dshin This basically improves and turns on constexpr support: https://github.com/eqrion/cbindgen/pull/756 Also incorporates: https://github.com/eqrion/cbindgen/pull/754 Though that has no real impact for our builds. Depends on D144316 Differential Revision: https://phabricator.services.mozilla.com/D144317 --- build/moz.configure/bindgen.configure | 2 +- taskcluster/ci/fetch/toolchains.yml | 4 ++-- taskcluster/ci/toolchain/cbindgen.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/moz.configure/bindgen.configure b/build/moz.configure/bindgen.configure index 49a4a69a3432f..193e1ad8d1af3 100644 --- a/build/moz.configure/bindgen.configure +++ b/build/moz.configure/bindgen.configure @@ -22,7 +22,7 @@ option(env="CBINDGEN", nargs=1, when=cbindgen_is_needed, help="Path to cbindgen" def check_cbindgen_version(cbindgen, fatal=False): log.debug("trying cbindgen: %s" % cbindgen) - cbindgen_min_version = Version("0.22.0") + cbindgen_min_version = Version("0.23.0") # cbindgen x.y.z version = Version(check_cmd_output(cbindgen, "--version").strip().split(" ")[1]) diff --git a/taskcluster/ci/fetch/toolchains.yml b/taskcluster/ci/fetch/toolchains.yml index cc371cbd81db6..51f274700f0e6 100644 --- a/taskcluster/ci/fetch/toolchains.yml +++ b/taskcluster/ci/fetch/toolchains.yml @@ -237,12 +237,12 @@ wine: strip-components: 1 add-prefix: wine-source/ -cbindgen-0.22.0: +cbindgen-0.23.0: description: cbindgen source code fetch: type: git repo: https://github.com/eqrion/cbindgen - revision: 8604b2c0b720aab2582e169af4b0005d5d927770 + revision: 798cfab52bced65a749443faa16990ec3a8e0cfe cctools-port: description: cctools-port source code diff --git a/taskcluster/ci/toolchain/cbindgen.yml b/taskcluster/ci/toolchain/cbindgen.yml index 16a08de1c4f12..52ccfb7b4debe 100644 --- a/taskcluster/ci/toolchain/cbindgen.yml +++ b/taskcluster/ci/toolchain/cbindgen.yml @@ -17,7 +17,7 @@ job-defaults: fetch: # If you update this, make sure to update the minimum version in # build/moz.configure/bindgen.configure as well. - - cbindgen-0.22.0 + - cbindgen-0.23.0 linux64-cbindgen: treeherder: