Skip to content

⬆️ deps(cargo): update rust crate bindgen to 0.73.0 - #12

Open
Open-Source-Bot wants to merge 1 commit into
mainfrom
renovate/bindgen-0.x
Open

Open-Source-Bot wants to merge 1 commit into
mainfrom
renovate/bindgen-0.x

Conversation

@Open-Source-Bot

Copy link
Copy Markdown

This PR contains the following updates:

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

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

v0.72.1

Compare Source

Fixed

  • Fixed a bad interaction with upcoming clang 22 (#​3278).

v0.72.0

Compare Source

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

Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • At 10:00 PM through 11:59 PM and 12:00 AM through 06:59 AM (* 22-23,0-6 * * *)
    • Only on Sunday and Saturday (* * * * 0,6)
  • 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.

@Open-Source-Bot
Open-Source-Bot requested a review from a team November 11, 2026 00:15
@Open-Source-Bot Open-Source-Bot added the dependencies Dependency update label Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency update

Development

Successfully merging this pull request may close these issues.

1 participant