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.64 to 0.65 #308

Merged
merged 2 commits into from
May 2, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2023

Updates the requirements on bindgen to permit the latest version.

Changelog

Sourced from bindgen's changelog.

0.65.1

Fixed

  • The Builder::rustfmt_bindings method was added back and tagged as deprecated instead of being removed.
  • Broken documentation links were fixed.

0.65.0

Added

  • Added the Builder::default_visibility method and the --default-visibility flag to set the default visibility of fields. (#2338)
  • Added the --formatter CLI flag with the values none, rustfmt and prettyplease to select which tool will be used to format the bindings. The default value is rustfmt. (#2453)
  • Added the Builder::formatter method and the Formatter type to select which tool will be used to format the bindings. (#2453)
  • Added the Builder::emit_diagnostics method and the --emit-diagnostics flag to enable emission of diagnostic messages under the experimental feature. (#2436)
  • Added support for the "efiapi" calling convention (#2490).
  • Added the ParseCallbacks::read_env_var method which runs everytime bindgen reads and environment variable. (#2400)
  • Added the ParseCallbacks::generated_link_name_override method which allow overriding the link name of items. (#2425)
  • Add support for C enums when generating code while using the --wrap-static-fns feature. (#2415)

Changed

  • Static functions with no arguments use void as their single argument instead of having no arguments when the --wrap-static-fns flag is used. (#2443)
  • The source file generated when the --wrap-static-fns flag is enabled now contains #include directives with all the input headers and all the source code added with the header_contents method. (#2447)
  • The source file generated when the --wrap-static-fns flag no longer uses asm labeling and the link name of static wrapper functions is allowed to be mangled. (#2448)
  • The documentation of the generated type aliases now matches the comments of their typedef counterparts instead of using the comments of the aliased types. (#2463)
  • The Builder::rustfmt_bindings methods and the --no-rustfmt-bindings flag are now deprecated in favor of the formatter API. (#2453)

Removed

  • The following deprecated flags were removed: --use-msvc-mangling, --rustfmt-bindings and --size_t-is-usize. (#2408)
  • The Bindings::emit_warnings and Bindings::warnings methods were removed in favor of --emit-diagnostics. (#2436)

... (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 added the dependencies Pull requests that update a dependency file label Apr 11, 2023
@dependabot dependabot bot force-pushed the dependabot/cargo/bindgen-0.65 branch 4 times, most recently from 357678d to dffef01 Compare April 20, 2023 06:43
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.64.0...v0.65.1)

---
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.65 branch from dffef01 to 09918d1 Compare April 24, 2023 09:25
@gkorland gkorland requested a review from iddm May 2, 2023 07:30
@iddm iddm merged commit 6361dc4 into master May 2, 2023
@iddm iddm deleted the dependabot/cargo/bindgen-0.65 branch May 2, 2023 09:53
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.

2 participants