chore(deps): update rust crate bindgen to 0.73.0 #63

Merged
lucas merged 1 commit from renovate/bindgen-0.x into master 2026-09-07 10:23:43 +02:00
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.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/2) for more information. --- ### Release Notes <details> <summary>rust-lang/rust-bindgen (bindgen)</summary> ### [`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=-->
renovate-bot bot force-pushed renovate/bindgen-0.x from 6255d783b6
All checks were successful
/ clippy (pull_request) Successful in 1m31s
/ build (pull_request) Successful in 2m30s
to e4a7979737
All checks were successful
/ clippy (pull_request) Successful in 55s
/ build (pull_request) Successful in 1m31s
2026-09-05 20:00:58 +02:00
Compare
lucas merged commit 6b6027d0ef into master 2026-09-07 10:23:43 +02:00
lucas deleted branch renovate/bindgen-0.x 2026-09-07 10:23:44 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
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/dt-plugin-template!63
No description provided.