Skip to content

Update Rust crate bindgen to 0.73.0 - #129

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/bindgen-0.x
Open

Update Rust crate bindgen to 0.73.0#129
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/bindgen-0.x

Conversation

@renovate

@renovaterenovateBot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

PackageTypeUpdateChange
bindgen (source)build-dependenciesminor0.72.00.73.0

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 f32NAN, 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: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants