Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump cbindgen from 0.24.5 to 0.26.0 in /src #3157

Merged
merged 3 commits into from Sep 14, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 13, 2023

Bumps cbindgen from 0.24.5 to 0.26.0.

Release notes

Sourced from cbindgen's releases.

0.26.0

  • Fix swapping of >>= and <<= in constants.
  • Add support for #[deprecated] (#860).
  • Built-in support for bitflags 2.0.
  • Support for "C-unwind" ABI.
  • Generate bindings for non-public extern items if they are #[no_mangle].

v0.25.0

  * Re-release of yanked 0.24.6 as a major release
  * Update MSRV to 1.57
  * Support variadic arguments (`...`) ([#805](https://github.com/mozilla/cbindgen/issues/805))
  * Add --depfile option ([#820](https://github.com/mozilla/cbindgen/issues/820))
  * Breaking changes: The `Config` struct now has a private member.
Changelog

Sourced from cbindgen's changelog.

0.26.0

  * Fix swapping of `>>=` and `<<=` in constants.
  * Add support for #[deprecated] ([#860](https://github.com/mozilla/cbindgen/issues/860)).
  * Built-in support for bitflags 2.0.
  * Support for "C-unwind" ABI.
  * Generate bindings for non-public extern items if they are #[no_mangle].

0.25.0

  * Re-release of yanked 0.24.6 as a major release
  * Update MSRV to 1.57
  * Support variadic arguments (`...`) ([#805](https://github.com/mozilla/cbindgen/issues/805))
  * Add --depfile option ([#820](https://github.com/mozilla/cbindgen/issues/820))
  * Breaking changes: The `Config` struct now has a private member.

0.24.6 (YANKED: depfile option was breaking, see #841)

  * Update MSRV to 1.57
  * Support variadic arguments (`...`) ([#805](https://github.com/mozilla/cbindgen/issues/805))
  * Add --depfile option ([#820](https://github.com/mozilla/cbindgen/issues/820))
Commits
  • 703b53c v0.26.0
  • 56f0feb Update MSRV in Readme
  • 9b4a149 Add support for out-of-line bitfields declarations
  • 35f2e44 Update URLs
  • 85eb0f4 Bump clippy msrv to 1.64
  • 43af1eb Handle bitflags bits method calls
  • f72e447 CHANGES: Note #[deprecated] support.
  • 1473070 utilities: annotation: Clean-up deprecated parsing and getter.
  • 0fb5d07 Add support for #[deprecated].
  • d8355da Support "C-unwind" ABI
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the Component: Build Build/install tools and dependencies label Sep 13, 2023
@dependabot dependabot bot added this to the Code health and maintenance milestone Sep 13, 2023
@github-actions github-actions bot added Component: Libraries Support functions like LD_PRELOAD and logging Component: Main Composing the core Shadow executable labels Sep 13, 2023
@sporksmith
Copy link
Contributor

  • Breaking changes: The Config struct now has a private member.

This breaks the build, and won't be easy to fix... :/

@sporksmith sporksmith self-assigned this Sep 14, 2023
@sporksmith
Copy link
Contributor

It looks like this API change broke compatibility by accident in 0.24.6: mozilla/cbindgen#841, but was canonicalized as a breaking change in 0.25.0 (based on the changelog).

Here's an example of someone else fixing it. It looks like there's a fairly straightforward workaround after all. fornwall/advent-of-code@c2b08a1

sporksmith and others added 3 commits September 14, 2023 09:58
Bumps [cbindgen](https://github.com/mozilla/cbindgen) from 0.24.5 to 0.26.0.
- [Release notes](https://github.com/mozilla/cbindgen/releases)
- [Changelog](https://github.com/mozilla/cbindgen/blob/master/CHANGES)
- [Commits](mozilla/cbindgen@v0.24.5...0.26.0)

---
updated-dependencies:
- dependency-name: cbindgen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@sporksmith sporksmith merged commit f83d18e into main Sep 14, 2023
24 checks passed
@sporksmith sporksmith deleted the dependabot/cargo/src/main/cbindgen-0.26.0 branch September 14, 2023 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Build Build/install tools and dependencies Component: Libraries Support functions like LD_PRELOAD and logging Component: Main Composing the core Shadow executable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants