Repository navigation
Commit c7eee8b
chore(deps): bump bindgen from 0.72.1 to 0.73.2 (#1829)
Bumps [bindgen](https://github.com/rust-lang/rust-bindgen) from 0.72.1
to 0.73.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md">bindgen's
changelog</a>.</em></p>
<blockquote>
<h1>0.73.2 (2026-09-08)</h1>
<h2>Added</h2>
<h2>Changed</h2>
<h2>Removed</h2>
<h2>Fixed</h2>
<ul>
<li>Fixed various regressions with over/underaligned types with respect
to 0.72 (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3449">#3449</a>,<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3453">#3453</a>,<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3458">#3458</a>).</li>
<li>Fixed a codegen regression with bitfields with enum types in some
circumstances (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3455">#3455</a>).</li>
</ul>
<h2>Security</h2>
<h1>0.73.1 (2026-09-05)</h1>
<h2>Added</h2>
<h2>Changed</h2>
<ul>
<li>Widened acceptable prettyplease / syn dependency versions (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3447">#3447</a>).</li>
</ul>
<h2>Removed</h2>
<h2>Fixed</h2>
<h2>Security</h2>
<h1>0.73.0 (2026-09-05)</h1>
<h2>Added</h2>
<ul>
<li>Add <code>Debug</code>, <code>Clone</code> and <code>Eq</code>
traits to <code>ParseCallbacks</code> info types (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3233">#3233</a>).</li>
<li>Include the source location in discovery <code>ParseCallbacks</code>
(<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3244">#3244</a>).</li>
<li>Report constants and variables in
<code>ParseCallbacks::new_item_found</code> (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3249">#3249</a>).</li>
<li>Allow adding custom attributes to <code>extern</code> function
blocks (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3257">#3257</a>).</li>
<li>Support new-type-alias constants (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3288">#3288</a>,
<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3390">#3390</a>).</li>
<li>Support nested flexible array members (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3306">#3306</a>).</li>
<li>Add support for custom per-field attributes (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3307">#3307</a>).</li>
<li>Add const-generic bitfield accessors for compile-time optimization
(<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3325">#3325</a>,
<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3374">#3374</a>).</li>
<li>Allow renaming struct and union fields (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3358">#3358</a>).</li>
<li>Add a <code>libcpp</code> feature to link <code>libclang</code>
against <code>libc++</code> (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3375">#3375</a>).</li>
<li>Prebuilt binaries for aarch64 Linux (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3217">#3217</a>).</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Guarantee opaque type layout across all architectures (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3280">#3280</a>).</li>
<li>Use <code>NonNull</code> for C++ references (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3292">#3292</a>).</li>
<li><code>Bindings::write</code> now takes <code>impl Write</code>
instead of <code>Box<dyn Write></code>
(<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3317">#3317</a>,
<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3324">#3324</a>).</li>
<li>Optimize bitfield unit get/set with byte-wise operations (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3325">#3325</a>).</li>
<li>Emit <code>const</code> <code>__BindgenUnionField</code> accessors
and comply with Rust 2024
<code>unsafe_op_in_unsafe_fn</code> (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3337">#3337</a>).</li>
<li>Generate a doc comment pointing at the aliased type when a type
alias is
hidden (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3122">#3122</a>).</li>
<li>dyngen: convert the library path to <code>OsStr</code> before
opening it (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3315">#3315</a>).</li>
<li>Return a <code>NoHeadersProvided</code> error instead of generating
empty bindings
when no input headers are provided (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3391">#3391</a>).</li>
<li>Bump the MSRV to 1.71 (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3401">#3401</a>).</li>
<li>Bump <code>syn</code> to v3 (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3401">#3401</a>)
and <code>shlex</code> to v2 (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3380">#3380</a>).</li>
</ul>
<h2>Removed</h2>
<ul>
<li>Removed support for generating code for rustc versions < 1.51,
along with</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/73c69d681eec90b84ffba4f993b5fb2f19580781"><code>73c69d6</code></a>
chore: Release</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/77cbc723acf88854ac2d25f15413def50e029a2b"><code>77cbc72</code></a>
codegen: Pad bitfields to field offset if applicable.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/dc615310095a04739d06aa02b317cbc219ed145c"><code>dc61531</code></a>
ty: More struct layout fixes for overaligned integers / aliases.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/4348523dc31f872b1e1e363100b211cd30e7e1ae"><code>4348523</code></a>
codegen: Revert some bitfield codegen changes and silence
unnecessary_transmu...</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/efb6e0c05fec83cc30fce0f697c1c0f97968df29"><code>efb6e0c</code></a>
ty: Use underlying layout of typedefs if available.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/18fc3ac91264031fd3d57c071ca654763e79fb11"><code>18fc3ac</code></a>
codegen: Simplify bitfield merging code.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/910679f40978ee35518fcde8621650e0224d875e"><code>910679f</code></a>
codegen: Remove hack that is no longer needed now that we have
repr(align) ev...</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/38ebc486a780a014bce11e7927aaba0785bb96a5"><code>38ebc48</code></a>
codegen: Don't force padding to be aligned.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/64f0939766c792822bd03c6733972e7e1067724e"><code>64f0939</code></a>
codegen: Don't force padding for over-aligned fields.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/cf8faab758ba737d17ed06051d643c5bbead200e"><code>cf8faab</code></a>
codegen: Simplify some conditions about repr(align).</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/rust-bindgen/compare/v0.72.1...v0.73.2">compare
view</a></li>
</ul>
</details>
<br />
> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Sturtevant <jsturtevant@gmail.com>1 parent 076ede4 commit c7eee8b
3 files changed
Lines changed: 25 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
0 commit comments