Update Rust crate bindgen to 0.73.0 (master) #55

Open
renovate-bot wants to merge 1 commit from renovate/master-bindgen-0.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
bindgen (source) build-dependencies minor 0.72.0 → 0.73.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

rust-lang/rust-bindgen (bindgen)

v0.73.2

Compare Source

Added

Changed

Removed

Fixed

  • Fixed various regressions with over/underaligned types with respect to 0.72 (#​3449,#​3453,#​3458).
  • Fixed a codegen regression with bitfields with enum types in some circumstances (#​3455).

Security

v0.73.1

Compare Source

Added

Changed

  • Widened acceptable prettyplease / syn dependency versions (#​3447).

Removed

Fixed

Security

v0.73.0

Compare Source

Added

  • Add Debug, Clone and Eq traits to ParseCallbacks info types (#​3233).
  • Include the source location in discovery ParseCallbacks (#​3244).
  • Report constants and variables in ParseCallbacks::new_item_found (#​3249).
  • Allow adding custom attributes to extern function blocks (#​3257).
  • Support new-type-alias constants (#​3288, #​3390).
  • Support nested flexible array members (#​3306).
  • Add support for custom per-field attributes (#​3307).
  • Add const-generic bitfield accessors for compile-time optimization (#​3325,
    #​3374).
  • Allow renaming struct and union fields (#​3358).
  • Add a libcpp feature to link libclang against libc++ (#​3375).
  • Prebuilt binaries for aarch64 Linux (#​3217).

Changed

  • Guarantee opaque type layout across all architectures (#​3280).
  • Use NonNull for C++ references (#​3292).
  • Bindings::write now takes impl Write instead of Box<dyn Write>
    (#​3317, #​3324).
  • Optimize bitfield unit get/set with byte-wise operations (#​3325).
  • Emit const __BindgenUnionField accessors and comply with Rust 2024
    unsafe_op_in_unsafe_fn (#​3337).
  • Generate a doc comment pointing at the aliased type when a type alias is
    hidden (#​3122).
  • dyngen: convert the library path to OsStr before opening it (#​3315).
  • Return a NoHeadersProvided error instead of generating empty bindings
    when no input headers are provided (#​3391).
  • Bump the MSRV to 1.71 (#​3401).
  • Bump syn to v3 (#​3401) and shlex to v2 (#​3380).

Removed

  • Removed support for generating code for rustc versions < 1.51, along with
    the corresponding RustTarget constants (#​3281).
  • Removed the dependency on itertools (#​3408).

Fixed

  • Fix a typo in the handling of --rustified-non-exhaustive-enums (#​3266).
  • Apply the same mangling rule to C and C-unwind function types (#​3156).
  • Fix alignment of bitfields in some edge cases (#​3247).
  • Fix typedefs inside constified modules (#​3284).
  • Fix generation of f32 NAN, INFINITY and NEG_INFINITY constants
    (#​3300).
  • Allow constant expressions that don't fit in i64 (#​3301).
  • Deduplicate derive traits added by the add_derives callback (#​3296).
  • Fix packed structs with flexible array members (#​3305).
  • Remove incorrect size_t_is_usize check (#​3313).
  • Prevent default derives for forward-declared types (#​3110).
  • Handle rustc version strings like 1.71.1-beta and 1.71.1-nightly
    (#​3329).
  • Centralize comment generation checks so comment options are respected
    everywhere (#​445, #​3330).
  • Fix unnecessary transmute and unsafe warnings in bitfield codegen (#​3335,
    #​3388).
  • Do not use the canonical declaration for enum type building (#​3346).
  • Allow zero-sized unions to be defined (#​3348).
  • Consolidate the extern block for functions and statics so shared symbols
    are only declared once (#​3367, #​3371).
  • Propagate the implicit target to the macro fallback (#​3382).
  • Avoid an IR cycle for compiler-builtin ObjC typedefs shadowing themselves
    (#​3387).
  • Generate a Debug impl for new-type alias wrappers when the inner type
    only has a manual impl (#​3411).
  • Do not insert dummy fields into bitfields in cases where this would cause
    misalignment (#​3431).
  • Newtype aliases to c_void don't derive traits now (#​3432).

Security


Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bindgen](https://rust-lang.github.io/rust-bindgen/) ([source](https://github.com/rust-lang/rust-bindgen)) | build-dependencies | minor | `0.72.0` → `0.73.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/1) for more information. --- ### Release Notes <details> <summary>rust-lang/rust-bindgen (bindgen)</summary> ### [`v0.73.2`](https://github.com/rust-lang/rust-bindgen/blob/HEAD/CHANGELOG.md#0732-2026-09-08) [Compare Source](https://github.com/rust-lang/rust-bindgen/compare/v0.73.1...v0.73.2) #### Added #### Changed #### Removed #### Fixed - Fixed various regressions with over/underaligned types with respect to 0.72 ([#&#8203;3449](https://github.com/rust-lang/rust-bindgen/issues/3449),[#&#8203;3453](https://github.com/rust-lang/rust-bindgen/issues/3453),[#&#8203;3458](https://github.com/rust-lang/rust-bindgen/issues/3458)). - Fixed a codegen regression with bitfields with enum types in some circumstances ([#&#8203;3455](https://github.com/rust-lang/rust-bindgen/issues/3455)). #### Security ### [`v0.73.1`](https://github.com/rust-lang/rust-bindgen/blob/HEAD/CHANGELOG.md#0731-2026-09-05) [Compare Source](https://github.com/rust-lang/rust-bindgen/compare/v0.73.0...v0.73.1) #### Added #### Changed - Widened acceptable prettyplease / syn dependency versions ([#&#8203;3447](https://github.com/rust-lang/rust-bindgen/issues/3447)). #### Removed #### Fixed #### Security ### [`v0.73.0`](https://github.com/rust-lang/rust-bindgen/blob/HEAD/CHANGELOG.md#0730-2026-09-05) [Compare Source](https://github.com/rust-lang/rust-bindgen/compare/v0.72.1...v0.73.0) #### Added - Add `Debug`, `Clone` and `Eq` traits to `ParseCallbacks` info types ([#&#8203;3233](https://github.com/rust-lang/rust-bindgen/issues/3233)). - Include the source location in discovery `ParseCallbacks` ([#&#8203;3244](https://github.com/rust-lang/rust-bindgen/issues/3244)). - Report constants and variables in `ParseCallbacks::new_item_found` ([#&#8203;3249](https://github.com/rust-lang/rust-bindgen/issues/3249)). - Allow adding custom attributes to `extern` function blocks ([#&#8203;3257](https://github.com/rust-lang/rust-bindgen/issues/3257)). - Support new-type-alias constants ([#&#8203;3288](https://github.com/rust-lang/rust-bindgen/issues/3288), [#&#8203;3390](https://github.com/rust-lang/rust-bindgen/issues/3390)). - Support nested flexible array members ([#&#8203;3306](https://github.com/rust-lang/rust-bindgen/issues/3306)). - Add support for custom per-field attributes ([#&#8203;3307](https://github.com/rust-lang/rust-bindgen/issues/3307)). - Add const-generic bitfield accessors for compile-time optimization ([#&#8203;3325](https://github.com/rust-lang/rust-bindgen/issues/3325), [#&#8203;3374](https://github.com/rust-lang/rust-bindgen/issues/3374)). - Allow renaming struct and union fields ([#&#8203;3358](https://github.com/rust-lang/rust-bindgen/issues/3358)). - Add a `libcpp` feature to link `libclang` against `libc++` ([#&#8203;3375](https://github.com/rust-lang/rust-bindgen/issues/3375)). - Prebuilt binaries for aarch64 Linux ([#&#8203;3217](https://github.com/rust-lang/rust-bindgen/issues/3217)). #### Changed - Guarantee opaque type layout across all architectures ([#&#8203;3280](https://github.com/rust-lang/rust-bindgen/issues/3280)). - Use `NonNull` for C++ references ([#&#8203;3292](https://github.com/rust-lang/rust-bindgen/issues/3292)). - `Bindings::write` now takes `impl Write` instead of `Box<dyn Write>` ([#&#8203;3317](https://github.com/rust-lang/rust-bindgen/issues/3317), [#&#8203;3324](https://github.com/rust-lang/rust-bindgen/issues/3324)). - Optimize bitfield unit get/set with byte-wise operations ([#&#8203;3325](https://github.com/rust-lang/rust-bindgen/issues/3325)). - Emit `const` `__BindgenUnionField` accessors and comply with Rust 2024 `unsafe_op_in_unsafe_fn` ([#&#8203;3337](https://github.com/rust-lang/rust-bindgen/issues/3337)). - Generate a doc comment pointing at the aliased type when a type alias is hidden ([#&#8203;3122](https://github.com/rust-lang/rust-bindgen/issues/3122)). - dyngen: convert the library path to `OsStr` before opening it ([#&#8203;3315](https://github.com/rust-lang/rust-bindgen/issues/3315)). - Return a `NoHeadersProvided` error instead of generating empty bindings when no input headers are provided ([#&#8203;3391](https://github.com/rust-lang/rust-bindgen/issues/3391)). - Bump the MSRV to 1.71 ([#&#8203;3401](https://github.com/rust-lang/rust-bindgen/issues/3401)). - Bump `syn` to v3 ([#&#8203;3401](https://github.com/rust-lang/rust-bindgen/issues/3401)) and `shlex` to v2 ([#&#8203;3380](https://github.com/rust-lang/rust-bindgen/issues/3380)). #### Removed - Removed support for generating code for rustc versions < 1.51, along with the corresponding `RustTarget` constants ([#&#8203;3281](https://github.com/rust-lang/rust-bindgen/issues/3281)). - Removed the dependency on `itertools` ([#&#8203;3408](https://github.com/rust-lang/rust-bindgen/issues/3408)). #### Fixed - Fix a typo in the handling of `--rustified-non-exhaustive-enums` ([#&#8203;3266](https://github.com/rust-lang/rust-bindgen/issues/3266)). - Apply the same mangling rule to `C` and `C-unwind` function types ([#&#8203;3156](https://github.com/rust-lang/rust-bindgen/issues/3156)). - Fix alignment of bitfields in some edge cases ([#&#8203;3247](https://github.com/rust-lang/rust-bindgen/issues/3247)). - Fix typedefs inside constified modules ([#&#8203;3284](https://github.com/rust-lang/rust-bindgen/issues/3284)). - Fix generation of `f32` `NAN`, `INFINITY` and `NEG_INFINITY` constants ([#&#8203;3300](https://github.com/rust-lang/rust-bindgen/issues/3300)). - Allow constant expressions that don't fit in `i64` ([#&#8203;3301](https://github.com/rust-lang/rust-bindgen/issues/3301)). - Deduplicate derive traits added by the `add_derives` callback ([#&#8203;3296](https://github.com/rust-lang/rust-bindgen/issues/3296)). - Fix packed structs with flexible array members ([#&#8203;3305](https://github.com/rust-lang/rust-bindgen/issues/3305)). - Remove incorrect `size_t_is_usize` check ([#&#8203;3313](https://github.com/rust-lang/rust-bindgen/issues/3313)). - Prevent default derives for forward-declared types ([#&#8203;3110](https://github.com/rust-lang/rust-bindgen/issues/3110)). - Handle rustc version strings like `1.71.1-beta` and `1.71.1-nightly` ([#&#8203;3329](https://github.com/rust-lang/rust-bindgen/issues/3329)). - Centralize comment generation checks so comment options are respected everywhere ([#&#8203;445](https://github.com/rust-lang/rust-bindgen/issues/445), [#&#8203;3330](https://github.com/rust-lang/rust-bindgen/issues/3330)). - Fix unnecessary transmute and unsafe warnings in bitfield codegen ([#&#8203;3335](https://github.com/rust-lang/rust-bindgen/issues/3335), [#&#8203;3388](https://github.com/rust-lang/rust-bindgen/issues/3388)). - Do not use the canonical declaration for enum type building ([#&#8203;3346](https://github.com/rust-lang/rust-bindgen/issues/3346)). - Allow zero-sized unions to be defined ([#&#8203;3348](https://github.com/rust-lang/rust-bindgen/issues/3348)). - Consolidate the `extern` block for functions and statics so shared symbols are only declared once ([#&#8203;3367](https://github.com/rust-lang/rust-bindgen/issues/3367), [#&#8203;3371](https://github.com/rust-lang/rust-bindgen/issues/3371)). - Propagate the implicit target to the macro fallback ([#&#8203;3382](https://github.com/rust-lang/rust-bindgen/issues/3382)). - Avoid an IR cycle for compiler-builtin ObjC typedefs shadowing themselves ([#&#8203;3387](https://github.com/rust-lang/rust-bindgen/issues/3387)). - Generate a `Debug` impl for new-type alias wrappers when the inner type only has a manual impl ([#&#8203;3411](https://github.com/rust-lang/rust-bindgen/issues/3411)). - Do not insert dummy fields into bitfields in cases where this would cause misalignment ([#&#8203;3431](https://github.com/rust-lang/rust-bindgen/issues/3431)). - Newtype aliases to c\_void don't derive traits now ([#&#8203;3432](https://github.com/rust-lang/rust-bindgen/issues/3432)). #### Security </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Berlin) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTUuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE5NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Update Rust crate bindgen to 0.73.0
All checks were successful
/ check (pull_request) Successful in 1m1s
/ build (pull_request) Successful in 2m3s
404b87f693
renovate-bot bot force-pushed renovate/master-bindgen-0.x from 404b87f693
All checks were successful
/ check (pull_request) Successful in 1m1s
/ build (pull_request) Successful in 2m3s
to 78840375bf
All checks were successful
/ build (pull_request) Successful in 42s
/ check (pull_request) Successful in 43s
2026-09-05 20:01:31 +02:00
Compare
renovate-bot bot force-pushed renovate/master-bindgen-0.x from 78840375bf
All checks were successful
/ build (pull_request) Successful in 42s
/ check (pull_request) Successful in 43s
to 909a108933
All checks were successful
/ check (pull_request) Successful in 47s
/ build (pull_request) Successful in 1m27s
2026-09-08 13:01:28 +02:00
Compare
All checks were successful
/ check (pull_request) Successful in 47s
Required
Details
/ build (pull_request) Successful in 1m27s
Required
Details
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/master-bindgen-0.x:renovate/master-bindgen-0.x
git switch renovate/master-bindgen-0.x
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitsquid_dt/p2p!55
No description provided.