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

Update bindgen requirement from 0.61.0 to 0.63.0 #35

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 28, 2022

Updates the requirements on bindgen to permit the latest version.

Changelog

Sourced from bindgen's changelog.

0.63.0

Added

Changed

  • Only wrap unsafe operations in unsafe blocks if the --wrap_unsafe_ops option is enabled.
  • Replace the name: &str argument for ParseCallbacks::add_derives by info: DeriveInfo.
  • All the rust targets equal or lower than 1.30 are being deprecated and will be removed in the future. If you have a good reason to use any of these targets, please report it in the issue tracker.

Removed

  • The following deprecated methods and their equivalent CLI arguments were removed: whitelist_recursively, hide_type, blacklist_type, blacklist_function, blacklist_item, whitelisted_type, whitelist_type, whitelist_function, whitelisted_function, whitelist_var, whitelisted_var, unstable_rust.

0.62.0

Added

  • new feature: --override-abi flag to override the ABI used by functions matching a regular expression.
  • new feature: allow using the C-unwind ABI in --override-abi on nightly rust.
  • new feature: process_comments method to the ParseCallbacks trait to handle source code comments.

Changed

  • Regex inputs are sanitized so alternation (a|b) is handled correctly but wildcard patterns (*) are now considered invalid.
  • the ParseCallbackstrait does not require to implement UnwindSafe.
  • the Builder::parse_callbacks method no longer overwrites previously added callbacks and composes them in a last-to-first manner.
  • any generated rust code containing unsafe operations inside unsafe functions is wrapped in unsafe blocks now.

Fixed

  • Various issues with upcoming clang/libclang versions have been fixed.

0.61.0

Released 2022/10/16

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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 requested a review from msrd0 November 28, 2022 05:09
@msrd0
Copy link
Owner

msrd0 commented Nov 28, 2022

I should set up some test to verify that the changes to the API generated by bindgen are non breaking.

@msrd0
Copy link
Owner

msrd0 commented Nov 29, 2022

The current CI tests latest against the previous tag, not this branch against latest tag

@msrd0 msrd0 changed the title Update bindgen requirement from 0.61.0 to 0.63.0 Update bindgen requirement to 0.63.0 & Add -sys API check Feb 6, 2023
@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Output of cargo public-api diff latest:
Removed items from the public API
=================================
(none)

Changed items in the public API
===============================
(none)

Added items to the public API
=============================
(none)

@msrd0 msrd0 force-pushed the dependabot/cargo/bindgen-0.63.0 branch from 04d233c to 0b069d4 Compare February 7, 2023 12:39
@msrd0
Copy link
Owner

msrd0 commented Feb 7, 2023

@dependabot recreate

Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen) to permit the latest version.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases)
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md)
- [Commits](rust-lang/rust-bindgen@v0.61.0...v0.63.0)

---
updated-dependencies:
- dependency-name: bindgen
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/bindgen-0.63.0 branch from 8269e00 to 32a2531 Compare February 7, 2023 13:28
@msrd0 msrd0 changed the title Update bindgen requirement to 0.63.0 & Add -sys API check Update bindgen requirement from 0.61.0 to 0.63.0 Feb 7, 2023
@msrd0 msrd0 merged commit b3f07d9 into main Feb 7, 2023
@msrd0 msrd0 deleted the dependabot/cargo/bindgen-0.63.0 branch February 7, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant