Commit 3093d8d
authored
Update bindgen requirement from =0.71.1 to =0.72.0 (#39)
Updates the requirements on
[bindgen](https://github.com/rust-lang/rust-bindgen) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/rust-bindgen/releases">bindgen's
releases</a>.</em></p>
<blockquote>
<h2>v0.72.0</h2>
<h2>Added</h2>
<ul>
<li>Report enums in ParseCallbacks.</li>
<li>Refactor item_name method to use ItemInfo struct.</li>
<li>Add callback to modify contents of macro</li>
<li>Discovery callbacks for functions and methods.</li>
<li>Options to generate uncallable C++ functions.</li>
<li>Provide option to get real virtual fn receiver.</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Generate bindings compatible with current rustc version by
default.</li>
</ul>
<h2>Removed</h2>
<ul>
<li>Remove unused which-rustfmt feature</li>
<li>Remove warning for opaque forward declarations</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>More sophisticated handling of the triple in
rust_to_clang_target</li>
<li>Rename *-apple-ios-sim to ...simulator</li>
<li>Fix OpenCL vectors that use "ext_vector_type".</li>
<li>Fix union layout when it contains 0 sized array.</li>
<li>Avoid crashing on variadic unions without layout information.</li>
<li>Distinguish char16_t.</li>
<li>Fix bugs in --clang-macro-fallback</li>
<li>Add missed unsafe in the raw_set_bit function</li>
<li>Use link_name for dynamic library loading</li>
<li>Add "gen" to list of rust keywords in 'rust_mangle'</li>
<li>Use appropriate <code>rustfmt --format ...</code> param</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-lang/rust-bindgen/compare/v0.71.1...v0.72.0">https://github.com/rust-lang/rust-bindgen/compare/v0.71.1...v0.72.0</a></p>
</blockquote>
</details>
<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.72.0 (2025-06-08)</h1>
<h2>Added</h2>
<ul>
<li>Report enums in ParseCallbacks.</li>
<li>Refactor item_name method to use ItemInfo struct.</li>
<li>Add callback to modify contents of macro</li>
<li>Discovery callbacks for functions and methods.</li>
<li>Options to generate uncallable C++ functions.</li>
<li>Provide option to get real virtual fn receiver.</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Generate bindings compatible with current rustc version by
default.</li>
</ul>
<h2>Removed</h2>
<ul>
<li>Remove unused which-rustfmt feature</li>
<li>Remove warning for opaque forward declarations</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>More sophisticated handling of the triple in
rust_to_clang_target</li>
<li>Rename *-apple-ios-sim to ...simulator</li>
<li>Fix OpenCL vectors that use "ext_vector_type".</li>
<li>Fix union layout when it contains 0 sized array.</li>
<li>Avoid crashing on variadic unions without layout information.</li>
<li>Distinguish char16_t.</li>
<li>Fix bugs in --clang-macro-fallback</li>
<li>Add missed unsafe in the raw_set_bit function</li>
<li>Use link_name for dynamic library loading</li>
<li>Add "gen" to list of rust keywords in 'rust_mangle'</li>
<li>Use appropriate <code>rustfmt --format ...</code> param</li>
</ul>
<h1>v0.71.1 (2024-12-09)</h1>
<h2>Fixed</h2>
<ul>
<li>Fix <code>--version</code> and
<code>--generate-shell-completions</code> (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3040">#3040</a>)</li>
</ul>
<h1>0.71.0 (2024-12-06)</h1>
<h2>Added</h2>
<ul>
<li>Add the <code>ParseCallbacks::new_item_found</code> callback to
expose the original and final name of structs, unions and enums (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2658">#2658</a>).</li>
<li>Add the <code>field_type_name</code> field to <code>FieldInfo</code>
to expose the name of the type of a field (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2863">#2863</a>)</li>
<li>Add support for custom attributes with the
<code>--with-attribute-custom</code> flag (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2866">#2866</a>)</li>
<li>Allow setting <code>--rust-target</code> to any Rust version
supported by bindgen (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2993">#2993</a>)</li>
<li>Use c-string literals if the <code>--generate-cstr</code> flag is
used for Rust targets after 1.77 under the 2021 edition (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2996">#2996</a>)</li>
<li>Add the <code>--rust-edition</code> flag which allows to select
which Rust edition to target. (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3002">#3002</a>,
<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3013">#3013</a>)</li>
<li>Use <code>unsafe extern</code> instead of <code>extern</code> in
blocks for any Rust target after 1.82. (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3015">#3015</a>)</li>
</ul>
<h2>Changed</h2>
<ul>
<li>The <code>--wrap-static-fns</code> related options no longer require
the experimental feature or flag (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2928">#2928</a>)</li>
<li>Use the <code>Display</code> implementation instead of the
<code>Debug</code> one for <code>BindgenError</code> in
<code>bindgen-cli</code> (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/3005">#3005</a>)</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/d0e7d6b5b763e93dd38f9ece05230979ede95a0a"><code>d0e7d6b</code></a>
chore: Release</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/e7f0b9d90110e0f7d7d1d3f6d2ece75780d819d3"><code>e7f0b9d</code></a>
Update changelog.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/2882af23b05cd29518b414fb4a023544b3ee645b"><code>2882af2</code></a>
Refactor item_name method to use ItemInfo struct</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/e2940cdcc20967799bece79b46682e8acc3bc042"><code>e2940cd</code></a>
chore: Fix some warnings with latest stable.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/5d7f6847690f84b6a4bf7b800cb3ae6057c5a207"><code>5d7f684</code></a>
codegen: Avoid crashing on variadic unions without layout
information.</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/2613129f1b39cf61e6ad3db7ec7d2a6806ed4fbd"><code>2613129</code></a>
Remove unused which-rustfmt feature</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/fef156111e6e16e06f68511ee7fe7da69a8b9d97"><code>fef1561</code></a>
Fix rustfmt errors</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/965a13cd6fc0946d4e98bfa36ce792777942fd12"><code>965a13c</code></a>
Add test</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/b9c6984739fc76e4e088d4ea567634b8a0be1b73"><code>b9c6984</code></a>
Use callbacks properly</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/803d73ee09470005ce1a1d02ab559e1c7bd6dac8"><code>803d73e</code></a>
Use parse_callbacks from options</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/rust-bindgen/compare/v0.71.1...v0.72.0">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 9f6f198 commit 3093d8d
4 files changed
Lines changed: 27 additions & 81 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
83 | 94 | | |
84 | 95 | | |
85 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
96 | | - | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
136 | | - | |
| 139 | + | |
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | | - | |
30 | | - | |
31 | 27 | | |
32 | | - | |
33 | | - | |
34 | 28 | | |
35 | | - | |
36 | | - | |
37 | 29 | | |
38 | | - | |
39 | | - | |
40 | 30 | | |
41 | 31 | | |
42 | 32 | | |
| |||
309 | 299 | | |
310 | 300 | | |
311 | 301 | | |
312 | | - | |
313 | | - | |
314 | 302 | | |
315 | | - | |
316 | | - | |
317 | 303 | | |
318 | | - | |
319 | | - | |
320 | 304 | | |
321 | 305 | | |
322 | 306 | | |
| |||
350 | 334 | | |
351 | 335 | | |
352 | 336 | | |
353 | | - | |
354 | | - | |
355 | 337 | | |
356 | | - | |
357 | | - | |
358 | 338 | | |
359 | | - | |
360 | | - | |
361 | 339 | | |
362 | | - | |
363 | | - | |
364 | 340 | | |
365 | | - | |
366 | | - | |
367 | 341 | | |
368 | | - | |
369 | | - | |
370 | 342 | | |
371 | | - | |
372 | | - | |
373 | 343 | | |
374 | | - | |
375 | | - | |
376 | 344 | | |
377 | | - | |
378 | | - | |
379 | 345 | | |
380 | | - | |
381 | | - | |
382 | 346 | | |
383 | | - | |
384 | | - | |
385 | 347 | | |
386 | | - | |
387 | | - | |
388 | 348 | | |
389 | 349 | | |
390 | 350 | | |
| |||
614 | 574 | | |
615 | 575 | | |
616 | 576 | | |
617 | | - | |
618 | | - | |
619 | 577 | | |
620 | | - | |
621 | | - | |
622 | 578 | | |
623 | | - | |
624 | | - | |
625 | 579 | | |
626 | | - | |
627 | | - | |
628 | 580 | | |
629 | | - | |
630 | | - | |
631 | 581 | | |
632 | | - | |
633 | | - | |
634 | 582 | | |
635 | | - | |
636 | | - | |
637 | 583 | | |
638 | | - | |
639 | | - | |
640 | 584 | | |
641 | 585 | | |
642 | 586 | | |
| |||
805 | 749 | | |
806 | 750 | | |
807 | 751 | | |
808 | | - | |
809 | | - | |
810 | 752 | | |
811 | | - | |
812 | | - | |
813 | 753 | | |
814 | 754 | | |
815 | 755 | | |
| |||
891 | 831 | | |
892 | 832 | | |
893 | 833 | | |
894 | | - | |
895 | | - | |
896 | 834 | | |
897 | | - | |
898 | | - | |
899 | 835 | | |
900 | | - | |
901 | | - | |
902 | 836 | | |
903 | | - | |
904 | | - | |
905 | 837 | | |
906 | 838 | | |
907 | 839 | | |
| |||
0 commit comments