Commit 34dac56d authored by Dzmitry Malyshau's avatar Dzmitry Malyshau
Browse files

Bug 1628754 - CBindGen update to 0.14.1 r=emilio,kats

Differential Revision: https://phabricator.services.mozilla.com/D70421

--HG--
extra : moz-landing-system : lando
parent e569a3ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ option(env='CBINDGEN', nargs=1, when=cbindgen_is_needed,
def check_cbindgen_version(cbindgen, fatal=False):
    log.debug("trying cbindgen: %s" % cbindgen)

    cbindgen_min_version = Version('0.13.1')
    cbindgen_min_version = Version('0.14.1')

    # cbindgen x.y.z
    version = Version(check_cmd_output(cbindgen, '--version').strip().split(" ")[1])
+3 −1
Original line number Diff line number Diff line
@@ -107,7 +107,9 @@ pub(crate) type RenderPassKey = AttachmentData<hal::pass::Attachment>;
pub(crate) type FramebufferKey = AttachmentData<id::TextureViewId>;
pub(crate) type RenderPassContext = AttachmentData<TextureFormat>;

type BufferMapResult = Result<*mut u8, hal::device::MapError>;
// This typedef is needed to work around cbindgen limitations.
type RawBufferMut = *mut u8;
type BufferMapResult = Result<RawBufferMut, hal::device::MapError>;
type BufferMapPendingCallback = (resource::BufferMapOperation, BufferMapResult);

pub type BufferMapReadCallback =
+2 −2
Original line number Diff line number Diff line
@@ -280,12 +280,12 @@ wine-3.0.3:
            sig-url: "{url}.sign"
            key-path: build/unix/build-gcc/DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D.key

cbindgen-0.13.1:
cbindgen-0.14.1:
    description: cbindgen source code
    fetch:
        type: git
        repo: https://github.com/eqrion/cbindgen
        revision: 3b97f4ff6b0558cab300c010222caee84245dd5d
        revision: 0761b9bbe48d01ded1bbec45bbeea5544b3b1002

cctools-port:
    description: cctools-port source code
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,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.13.1
            - cbindgen-0.14.1

linux64-cbindgen:
    treeherder: