Skip to content

chore(deps): bump bindgen from 0.72.1 to 0.73.2 - #1829

Merged
jsturtevant merged 2 commits into
mainfrom
dependabot/cargo/bindgen-0.73.2
Oct 28, 2026
Merged

jsturtevant merged 2 commits into
mainfrom
dependabot/cargo/bindgen-0.73.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps bindgen from 0.72.1 to 0.73.2.

Changelog

Sourced from bindgen's changelog.

0.73.2 (2026-09-08)

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

0.73.1 (2026-09-05)

Added

Changed

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

Removed

Fixed

Security

0.73.0 (2026-09-05)

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

... (truncated)

Commits
  • 73c69d6 chore: Release
  • 77cbc72 codegen: Pad bitfields to field offset if applicable.
  • dc61531 ty: More struct layout fixes for overaligned integers / aliases.
  • 4348523 codegen: Revert some bitfield codegen changes and silence unnecessary_transmu...
  • efb6e0c ty: Use underlying layout of typedefs if available.
  • 18fc3ac codegen: Simplify bitfield merging code.
  • 910679f codegen: Remove hack that is no longer needed now that we have repr(align) ev...
  • 38ebc48 codegen: Don't force padding to be aligned.
  • 64f0939 codegen: Don't force padding for over-aligned fields.
  • cf8faab codegen: Simplify some conditions about repr(align).
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the kind/dependencies For PRs that update dependencies or related components label Sep 14, 2026

@dependabot-pr-auto-approver dependabot-pr-auto-approver Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by dependabot auto-approve workflow

@dependabot-pr-auto-approver
dependabot-pr-auto-approver Bot enabled auto-merge (squash) September 15, 2026 04:12
@dependabot dependabot Bot changed the title chore(deps): bump bindgen from 0.72.1 to 0.73.2 chore(deps): bump bindgen from 0.72.1 to 0.73.1 Sep 15, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/bindgen-0.73.2 branch from 45b59fd to e19b4a2 Compare September 15, 2026 04:14
@dependabot dependabot Bot changed the title chore(deps): bump bindgen from 0.72.1 to 0.73.1 chore(deps): bump bindgen from 0.72.1 to 0.73.2 Sep 17, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/bindgen-0.73.2 branch 2 times, most recently from b0f0ff2 to 9aeec83 Compare September 24, 2026 04:14

@dependabot-pr-auto-approver dependabot-pr-auto-approver Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by dependabot auto-approve workflow

@jsturtevant

Copy link
Copy Markdown
Contributor

@dependabot rebase

dependabot Bot and others added 2 commits October 27, 2026 17:39
Bumps [bindgen](https://github.com/rust-lang/rust-bindgen) from 0.72.1 to 0.73.2.
- [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.72.1...v0.73.2)

---
updated-dependencies:
- dependency-name: bindgen
  dependency-version: 0.73.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
@hyperlight-gh-bot

This comment has been minimized.

@hyperlight-gh-bot

Copy link
Copy Markdown

Benchmark Results

Measured commit: c2d44a84552f
Baseline commit: 076ede448e34

kvm / amd (Linux) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

decode_vec_bytes_copy encode_control
376.12 µs (➖ 1.01x slower)
byte_chunks 757.08 ns (➖ 1.00x faster)
vec_bytes 577.93 ns (➖ 1.00x faster)

payload_allocation

slot_pool_segmented
65536 141.61 ns (➖ 1.02x faster)
262144 526.50 ns (➖ 1.01x faster)

sandboxes

create_initialized_and_drop
medium 81.52 ms (➖ 1.00x faster)

slot_pool

alloc_dealloc_4096 alloc_dealloc_128 alloc_dealloc_1500
7.68 ns (➖ 1.00x faster) 7.68 ns (➖ 1.01x faster) 7.68 ns (➖ 1.00x faster)

snapshot_files

load_snapshot_unverified
small 92.13 µs (➖ 1.01x faster)

virtq_readonly

slot_pool_segmented slot_pool_segmented_fragmented
65536 1.92 µs (➖ 1.08x faster) 2.06 µs (➖ 1.07x slower)
262144 7.12 µs (➖ 1.01x faster) 7.38 µs (➖ 1.01x faster)

virtq_readwrite

slot_pool_segmented slot_pool_segmented_fragmented
8192 1.02 µs (➖ 1.01x faster) 1.09 µs (➖ 1.00x slower)
65536 6.17 µs (➖ 1.02x faster) 6.18 µs (➖ 1.03x faster)
262144 26.91 µs (➖ 1.03x faster)
kvm / intel (Linux) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

decode_vec_bytes_copy encode_control
678.02 µs (➖ 1.02x slower)
byte_chunks 673.08 ns (➖ 1.00x slower)
vec_bytes 506.79 ns (➖ 1.00x slower)

payload_allocation

slot_pool_segmented
65536 169.98 ns (➖ 1.01x faster)
262144 495.13 ns (➖ 1.08x faster)

sandboxes

create_initialized_and_drop
medium 79.40 ms (➖ 1.03x slower)

slot_pool

alloc_dealloc_4096 alloc_dealloc_128 alloc_dealloc_1500
6.80 ns (➖ 1.00x slower) 6.78 ns (➖ 1.00x slower) 6.79 ns (➖ 1.00x faster)

snapshot_files

load_snapshot_unverified
small 46.08 µs (➖ 1.00x slower)

virtq_readonly

slot_pool_segmented slot_pool_segmented_fragmented
65536 2.15 µs (➖ 1.01x slower) 2.14 µs (➖ 1.00x faster)
262144 7.51 µs (➖ 1.00x slower) 7.55 µs (➖ 1.02x slower)

virtq_readwrite

slot_pool_segmented slot_pool_segmented_fragmented
8192 739.60 ns (➖ 1.03x slower) 737.17 ns (➖ 1.01x slower)
65536 7.05 µs (➖ 1.00x faster) 7.11 µs (➖ 1.00x slower)
262144 29.34 µs (➖ 1.12x faster)
mshv3 / amd (Linux) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

decode_vec_bytes_copy encode_control
317.51 µs (➖ 1.00x slower)
byte_chunks 968.22 ns (➖ 1.04x slower)
vec_bytes 708.10 ns (➖ 1.01x faster)

payload_allocation

slot_pool_segmented
65536 184.31 ns (➖ 1.04x faster)
262144 673.94 ns (➖ 1.00x slower)

sandboxes

create_initialized_and_drop
medium 62.40 ms (➖ 1.10x faster)

slot_pool

alloc_dealloc_4096 alloc_dealloc_128 alloc_dealloc_1500
9.89 ns (➖ 1.00x faster) 9.86 ns (➖ 1.00x faster) 9.87 ns (➖ 1.00x faster)

snapshot_files

load_snapshot_unverified
small 86.23 µs (➖ 1.00x slower)

virtq_readonly

slot_pool_segmented slot_pool_segmented_fragmented
65536 2.46 µs (➖ 1.01x faster) 2.63 µs (➖ 1.03x faster)
262144 9.31 µs (➖ 1.01x slower) 9.08 µs (➖ 1.13x faster)

virtq_readwrite

slot_pool_segmented slot_pool_segmented_fragmented
8192 1.26 µs (➖ 1.00x slower) 1.36 µs (➖ 1.05x slower)
65536 7.98 µs (➖ 1.04x faster) 7.93 µs (➖ 1.06x faster)
262144 34.69 µs (➖ 1.05x faster)
mshv3 / intel (Linux) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

decode_vec_bytes_copy encode_control
814.97 µs (➖ 1.09x slower)
byte_chunks 908.09 ns (➖ 1.04x faster)
vec_bytes 661.63 ns (➖ 1.02x faster)

payload_allocation

slot_pool_segmented
65536 256.75 ns (➖ 1.00x faster)
262144 667.54 ns (➖ 1.01x faster)

sandboxes

create_initialized_and_drop
medium 69.36 ms (➖ 1.05x faster)

slot_pool

alloc_dealloc_4096 alloc_dealloc_128 alloc_dealloc_1500
8.72 ns (➖ 1.01x slower) 9.91 ns (➖ 1.14x slower) 8.70 ns (➖ 1.01x faster)

snapshot_files

load_snapshot_unverified
small 46.12 µs (➖ 1.02x faster)

virtq_readonly

slot_pool_segmented slot_pool_segmented_fragmented
65536 2.33 µs (➖ 1.01x slower) 2.30 µs (➖ 1.01x faster)
262144 8.10 µs (➖ 1.02x slower) 8.01 µs (➖ 1.00x slower)

virtq_readwrite

slot_pool_segmented slot_pool_segmented_fragmented
8192 908.69 ns (➖ 1.02x faster) 906.24 ns (➖ 1.02x faster)
65536 7.44 µs (➖ 1.00x faster) 7.46 µs (➖ 1.01x faster)
262144 40.56 µs (➖ 1.05x slower)
hyperv-ws2025 / amd (Windows) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

decode_vec_bytes_copy encode_control
1.92 ms (➖ 1.00x slower)
byte_chunks 1.13 µs (➖ 1.00x faster)
vec_bytes 754.26 ns (➖ 1.02x faster)

payload_allocation

slot_pool_segmented
65536 253.98 ns (➖ 1.09x slower)
262144 790.18 ns (➖ 1.05x faster)

sandboxes

create_initialized_and_drop
medium 78.96 ms (➖ 1.35x faster)

slot_pool

alloc_dealloc_4096 alloc_dealloc_128 alloc_dealloc_1500
10.75 ns (➖ 1.14x faster) 10.62 ns (➖ 1.03x faster) 10.81 ns (➖ 1.00x slower)

snapshot_files

load_snapshot_unverified
small 632.50 µs (➖ 1.02x slower)

virtq_readonly

slot_pool_segmented slot_pool_segmented_fragmented
65536 2.52 µs (➖ 1.04x faster) 2.52 µs (➖ 1.01x faster)
262144 8.51 µs (➖ 1.03x faster) 8.60 µs (➖ 1.03x faster)

virtq_readwrite

slot_pool_segmented slot_pool_segmented_fragmented
8192 1.38 µs (➖ 1.14x faster) 1.34 µs (➖ 1.06x faster)
65536 8.92 µs (➖ 1.01x slower) 8.51 µs (➖ 1.02x faster)
262144 37.93 µs (➖ 1.02x faster)
hyperv-ws2025 / intel (Windows) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

decode_vec_bytes_copy encode_control
2.98 ms (➖ 1.03x slower)
byte_chunks 1.18 µs (➖ 1.03x faster)
vec_bytes 773.23 ns (➖ 1.02x faster)

payload_allocation

slot_pool_segmented
65536 216.12 ns (➖ 1.03x slower)
262144 750.14 ns (➖ 1.01x slower)

sandboxes

create_initialized_and_drop
medium 102.86 ms (➖ 1.02x faster)

slot_pool

alloc_dealloc_4096 alloc_dealloc_128 alloc_dealloc_1500
10.25 ns (➖ 1.03x slower) 9.77 ns (➖ 1.01x slower) 9.90 ns (➖ 1.03x slower)

snapshot_files

load_snapshot_unverified
small 525.86 µs (➖ 1.11x faster)

virtq_readonly

slot_pool_segmented slot_pool_segmented_fragmented
65536 2.64 µs (➖ 1.08x slower) 2.32 µs (➖ 1.00x slower)
262144 7.69 µs (➖ 1.03x slower) 7.80 µs (➖ 1.02x slower)

virtq_readwrite

slot_pool_segmented slot_pool_segmented_fragmented
8192 1.14 µs (➖ 1.07x slower) 1.12 µs (➖ 1.07x faster)
65536 8.56 µs (➖ 1.02x slower) 8.54 µs (➖ 1.02x faster)
262144 42.21 µs (➖ 1.05x slower)

Reported by cargo ci bench-report --candidate run:40610414970 --config-file bench_report.toml.

@jsturtevant
jsturtevant disabled auto-merge October 28, 2026 16:37
@jsturtevant
jsturtevant merged commit c7eee8b into main Oct 28, 2026
107 of 127 checks passed
@jsturtevant
jsturtevant deleted the dependabot/cargo/bindgen-0.73.2 branch October 28, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/dependencies For PRs that update dependencies or related components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant