Skip to content

chore(deps): update bindgen requirement from 0.68.1 to 0.72.0 #440

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2025

Updates the requirements on bindgen to permit the latest version.

Release notes

Sourced from bindgen's releases.

v0.72.0

Added

  • Report enums in ParseCallbacks.
  • Refactor item_name method to use ItemInfo struct.
  • Add callback to modify contents of macro
  • Discovery callbacks for functions and methods.
  • Options to generate uncallable C++ functions.
  • Provide option to get real virtual fn receiver.

Changed

  • Generate bindings compatible with current rustc version by default.

Removed

  • Remove unused which-rustfmt feature
  • Remove warning for opaque forward declarations

Fixed

  • More sophisticated handling of the triple in rust_to_clang_target
  • Rename *-apple-ios-sim to ...simulator
  • Fix OpenCL vectors that use "ext_vector_type".
  • Fix union layout when it contains 0 sized array.
  • Avoid crashing on variadic unions without layout information.
  • Distinguish char16_t.
  • Fix bugs in --clang-macro-fallback
  • Add missed unsafe in the raw_set_bit function
  • Use link_name for dynamic library loading
  • Add "gen" to list of rust keywords in 'rust_mangle'
  • Use appropriate rustfmt --format ... param

Full Changelog: rust-lang/rust-bindgen@v0.71.1...v0.72.0

Changelog

Sourced from bindgen's changelog.

0.72.0 (2025-06-08)

Added

  • Report enums in ParseCallbacks.
  • Refactor item_name method to use ItemInfo struct.
  • Add callback to modify contents of macro
  • Discovery callbacks for functions and methods.
  • Options to generate uncallable C++ functions.
  • Provide option to get real virtual fn receiver.

Changed

  • Generate bindings compatible with current rustc version by default.

Removed

  • Remove unused which-rustfmt feature
  • Remove warning for opaque forward declarations

Fixed

  • More sophisticated handling of the triple in rust_to_clang_target
  • Rename *-apple-ios-sim to ...simulator
  • Fix OpenCL vectors that use "ext_vector_type".
  • Fix union layout when it contains 0 sized array.
  • Avoid crashing on variadic unions without layout information.
  • Distinguish char16_t.
  • Fix bugs in --clang-macro-fallback
  • Add missed unsafe in the raw_set_bit function
  • Use link_name for dynamic library loading
  • Add "gen" to list of rust keywords in 'rust_mangle'
  • Use appropriate rustfmt --format ... param

v0.71.1 (2024-12-09)

Fixed

  • Fix --version and --generate-shell-completions (#3040)

0.71.0 (2024-12-06)

Added

  • Add the ParseCallbacks::new_item_found callback to expose the original and final name of structs, unions and enums (#2658).
  • Add the field_type_name field to FieldInfo to expose the name of the type of a field (#2863)
  • Add support for custom attributes with the --with-attribute-custom flag (#2866)
  • Allow setting --rust-target to any Rust version supported by bindgen (#2993)
  • Use c-string literals if the --generate-cstr flag is used for Rust targets after 1.77 under the 2021 edition (#2996)
  • Add the --rust-edition flag which allows to select which Rust edition to target. (#3002, #3013)
  • Use unsafe extern instead of extern in blocks for any Rust target after 1.82. (#3015)

Changed

  • The --wrap-static-fns related options no longer require the experimental feature or flag (#2928)
  • Use the Display implementation instead of the Debug one for BindgenError in bindgen-cli (#3005)

... (truncated)

Commits
  • d0e7d6b chore: Release
  • e7f0b9d Update changelog.
  • 2882af2 Refactor item_name method to use ItemInfo struct
  • e2940cd chore: Fix some warnings with latest stable.
  • 5d7f684 codegen: Avoid crashing on variadic unions without layout information.
  • 2613129 Remove unused which-rustfmt feature
  • fef1561 Fix rustfmt errors
  • 965a13c Add test
  • b9c6984 Use callbacks properly
  • 803d73e Use parse_callbacks from options
  • Additional commits viewable in compare view

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 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 dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jun 9, 2025
@coveralls
Copy link

coveralls commented Jun 9, 2025

Pull Request Test Coverage Report for Build 15645688892

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 21.105%

Totals Coverage Status
Change from base Build 15618767902: 0.0%
Covered Lines: 829
Relevant Lines: 3928

💛 - Coveralls

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.68.1...v0.72.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Xenira added a commit that referenced this pull request Jun 12, 2025
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch from 55e6d95 to 1fb74f8 Compare June 12, 2025 19:16
Xenira added a commit that referenced this pull request Jun 12, 2025
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch from 1fb74f8 to b377fad Compare June 12, 2025 19:21
Xenira added a commit that referenced this pull request Jun 12, 2025
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch from b377fad to b4aa2bb Compare June 12, 2025 19:26
Xenira added a commit that referenced this pull request Jun 12, 2025
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch from b4aa2bb to 6117076 Compare June 12, 2025 19:32
Xenira added a commit that referenced this pull request Jun 12, 2025
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch from 6117076 to cafaecc Compare June 12, 2025 19:38
Xenira added a commit that referenced this pull request Jun 13, 2025
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch 2 times, most recently from 1e69169 to ac4db68 Compare June 13, 2025 23:11
Xenira added a commit that referenced this pull request Jun 13, 2025
Xenira added a commit that referenced this pull request Jun 13, 2025
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch from ac4db68 to 64eb0a6 Compare June 13, 2025 23:11
Xenira added a commit that referenced this pull request Jun 13, 2025
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch from 64eb0a6 to adfad2b Compare June 13, 2025 23:17
@Xenira Xenira force-pushed the dependabot/cargo/bindgen-0.72.0 branch from adfad2b to 30b484a Compare June 13, 2025 23: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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants