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.63 to 0.64 #118

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 7, 2023

Updates the requirements on bindgen to permit the latest version.

Changelog

Sourced from bindgen's changelog.

0.64.0

Added

  • Added a new set of flags --with-derive-custom, --with-derive-custom-struct, --with-derive-custom-enum and --with-derive-custom-enum to add custom derives from the CLI.
  • Added the --experimental flag on bindgen-cli and the experimental feature on bindgen to gate experimental features whose implementation is incomplete or are prone to change in a non-backwards compatible manner.
  • Added a new set of flags and their equivalent builder methods --wrap-static-fns, --wrap-static-fns-suffix and --wrap-static-fns-path to generate C function wrappers for static or static inline functions. This feature is experimental.

Changed

  • Fixed name collisions when having a C enum and a typedef with the same name.
  • The ParseCallbacks::generated_name_override method now receives ItemInfo<'_> as argument instead of a &str.
  • Updated the clang-sys crate version to 1.4.0 to support clang 15.
  • The return type is now ommited in signatures of functions returning void.
  • Updated the clap dependency for bindgen-cli to 4.
  • Rewrote the bindgen-cli argument parser which could introduce unexpected behavior changes.
  • The ParseCallbacks::add_derives method now receives DeriveInfo<'_> as argument instead of a &str. This type also includes the kind of target type.

Removed

Fixed

Security

0.63.0

Added

  • new feature: process_comments method to the ParseCallbacks trait to handle source code comments.

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

... (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/main/CHANGELOG.md)
- [Commits](rust-lang/rust-bindgen@v0.63.0...v0.64.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the auto-dependencies auto-dependencies label Feb 7, 2023
@codecov
Copy link

codecov bot commented Feb 7, 2023

Codecov Report

Merging #118 (b8574b7) into main (9c76a72) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   59.63%   59.63%           
=======================================
  Files          26       26           
  Lines        1479     1479           
=======================================
  Hits          882      882           
  Misses        597      597           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@wangfenjin wangfenjin merged commit b3d88a8 into main Feb 7, 2023
@wangfenjin wangfenjin deleted the dependabot/cargo/main/bindgen-0.64 branch February 7, 2023 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-dependencies auto-dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant