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.52 to 0.62 #48

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

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

Updates the requirements on bindgen to permit the latest version.

Changelog

Sourced from bindgen's changelog.

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.

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

Added

  • new feature: --sort-semantically flag to sort the output in a predefined manner [(#1743)].
  • new feature: Bindgen::emit_warnings method to emit warnings to stderr in build scripts.
  • new feature: --newtype-global-enum flag to generate enum variants as global constants.
  • new feature: --default-non-copy-union-style flag to set the default style of code used to generate unions with non-Copy members.
  • new feature: --bindgen-wrapper-union flag to mark any union that matches a regex and has a non-Copy member to use a bindgen-generated wrapper for its fields.
  • new feature: --manually-drop-union flag to mark any union that matches a regex and has a non-Copy member to use ManuallyDrop.
  • new feature: --merge-extern-blocks flag to merge several extern blocks that have the same ABI.
  • new feature: --no-size_t-is-usize flag to not bind size_t as usize.
  • new feature: Builder implements Clone.

Changed

  • clap and regex have been updated, new msrv is 1.57.

... (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)

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.52.0...v0.62.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 18, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 23, 2022

Superseded by #49.

@dependabot dependabot bot closed this Nov 23, 2022
@dependabot dependabot bot deleted the dependabot/cargo/bindgen-0.62 branch November 23, 2022 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants