mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1503401 - Update cbindgen due to breaking change. r=boris
https://github.com/eqrion/cbindgen/pull/233 changed the way one of the options we use work. I think the new behavior is better, but we should do this sooner rather than later, and fix broken builds. Differential Revision: https://phabricator.services.mozilla.com/D10301 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
ecabb3873c
commit
b85791110f
@ -294,7 +294,7 @@ cbindgen = check_prog('CBINDGEN', add_rustup_path('cbindgen'), paths=toolchain_s
|
||||
@checking('cbindgen version')
|
||||
@imports(_from='textwrap', _import='dedent')
|
||||
def cbindgen_version(cbindgen):
|
||||
cbindgen_min_version = Version('0.6.6')
|
||||
cbindgen_min_version = Version('0.6.7')
|
||||
|
||||
# cbindgen x.y.z
|
||||
version = Version(check_cmd_output(cbindgen, '--version').strip().split(" ")[1])
|
||||
|
@ -503,7 +503,7 @@ class OSXBootstrapper(BaseBootstrapper):
|
||||
return active_name.lower()
|
||||
|
||||
def ensure_stylo_packages(self, state_dir, checkout_root):
|
||||
cbindgen_min_version = '0.6.6'
|
||||
cbindgen_min_version = '0.6.7'
|
||||
# We installed clang via homebrew earlier.
|
||||
self.ensure_rust_package('cbindgen', cbindgen_min_version)
|
||||
|
||||
|
@ -38,19 +38,19 @@ derive_helper_methods = true
|
||||
[export]
|
||||
prefix = "Style"
|
||||
include = [
|
||||
"StyleAppearance",
|
||||
"StyleComputedFontStretchRange",
|
||||
"StyleComputedFontStyleDescriptor",
|
||||
"StyleComputedFontWeightRange",
|
||||
"StyleComputedTimingFunction",
|
||||
"StyleDisplay",
|
||||
"StyleDisplayMode",
|
||||
"StyleFillRule",
|
||||
"StyleFontDisplay",
|
||||
"StyleFontFaceSourceListComponent",
|
||||
"StyleFontLanguageOverride",
|
||||
"StyleTimingFunction",
|
||||
"StylePathCommand",
|
||||
"StyleUnicodeRange",
|
||||
"Appearance",
|
||||
"ComputedFontStretchRange",
|
||||
"ComputedFontStyleDescriptor",
|
||||
"ComputedFontWeightRange",
|
||||
"ComputedTimingFunction",
|
||||
"Display",
|
||||
"DisplayMode",
|
||||
"FillRule",
|
||||
"FontDisplay",
|
||||
"FontFaceSourceListComponent",
|
||||
"FontLanguageOverride",
|
||||
"TimingFunction",
|
||||
"PathCommand",
|
||||
"UnicodeRange",
|
||||
]
|
||||
item_types = ["enums", "structs", "typedefs"]
|
||||
|
@ -3,7 +3,7 @@ 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.6
|
||||
CBINDGEN_VERSION=v0.6.7
|
||||
TARGET="$1"
|
||||
|
||||
case "$(uname -s)" in
|
||||
|
Loading…
x
Reference in New Issue
Block a user