Skip to content

0.53.0 broke semver?  #1776

@dvdplm

Description

@dvdplm

I think #1688 broke semver. Updating rust-mbedtls from using [email protected]to ``[email protected]` I'm getting a ton of errors like:

error[E0308]: mismatched types
   --> mbedtls/src/x509/csr.rs:196:22
    |
196 |                 Some(F::call),
    |                      ^^^^^^^ expected `u64`, found `usize`
    |
    = note: expected fn pointer `unsafe extern "C" fn(_, _, u64) -> _`
                  found fn item `unsafe extern "C" fn(_, _, usize) -> _ {<F as rng::RngCallback>::call}`

Possibly the culprit is #1688?

Not sure what can be done at this time, but yeah, upgrading bindgen is harder than it could be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions