Skip to content

Commit 00aace3

Browse files
Merge #976
976: Update bindgen requirement from 0.61.0 to 0.62.0 r=Bromeon a=dependabot[bot] Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md">bindgen's changelog</a>.</em></p> <blockquote> <h1>0.62.0</h1> <h2>Added</h2> <ul> <li>new feature: <code>--override-abi</code> flag to override the ABI used by functions matching a regular expression.</li> <li>new feature: allow using the <code>C-unwind</code> ABI in <code>--override-abi</code> on nightly rust.</li> </ul> <h2>Changed</h2> <ul> <li>Regex inputs are sanitized so alternation (<code>a|b</code>) is handled correctly but wildcard patterns (<code>*</code>) are now considered invalid.</li> <li>the <code>ParseCallbacks</code>trait does not require to implement <code>UnwindSafe</code>.</li> <li>the <code>Builder::parse_callbacks</code> method no longer overwrites previously added callbacks and composes them in a last-to-first manner.</li> <li>any generated rust code containing unsafe operations inside unsafe functions is wrapped in unsafe blocks now.</li> </ul> <h2>Fixed</h2> <ul> <li>Various issues with upcoming clang/libclang versions have been fixed.</li> </ul> <h1>0.61.0</h1> <p>Released 2022/10/16</p> <h2>Added</h2> <ul> <li>new feature: <code>--sort-semantically</code> flag to sort the output in a predefined manner [(<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/1743">#1743</a>)].</li> <li>new feature: <code>Bindgen::emit_warnings</code> method to emit warnings to stderr in build scripts.</li> <li>new feature: <code>--newtype-global-enum</code> flag to generate enum variants as global constants.</li> <li>new feature: <code>--default-non-copy-union-style</code> flag to set the default style of code used to generate unions with non-<code>Copy</code> members.</li> <li>new feature: <code>--bindgen-wrapper-union</code> flag to mark any union that matches a regex and has a non-Copy member to use a bindgen-generated wrapper for its fields.</li> <li>new feature: <code>--manually-drop-union</code> flag to mark any union that matches a regex and has a non-<code>Copy</code> member to use <code>ManuallyDrop</code>.</li> <li>new feature: <code>--merge-extern-blocks</code> flag to merge several <code>extern</code> blocks that have the same ABI.</li> <li>new feature: <code>--no-size_t-is-usize</code> flag to not bind <code>size_t</code> as <code>usize</code>.</li> <li>new feature: <code>Builder</code> implements <code>Clone</code>.</li> </ul> <h2>Changed</h2> <ul> <li>clap and regex have been updated, new msrv is 1.57.</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/c09bd2f5b58fb90fbcd906a4826d4ac26fe6ef1d"><code>c09bd2f</code></a> v0.62.0</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/678daf56a2384252304fc27ed2b46e769da1890f"><code>678daf5</code></a> document regex arguments handling (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2345">#2345</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/4574d766d53bf368c9e3909886229891ddc2bb57"><code>4574d76</code></a> Document and test allowlisting and blocklisting methods (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2344">#2344</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/67dfa7ed41303a74277bf9ad4e2e2344c8ffb505"><code>67dfa7e</code></a> Fix duplicated function names (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2341">#2341</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/db4ea32e2d810e765a4c40479e053d0a61a875cf"><code>db4ea32</code></a> Handle the <code>const struct *</code> and <code>struct *</code> patterns (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2304">#2304</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/ed3aa90cd4c4e1e59d15942414a6dbc586ac1ed4"><code>ed3aa90</code></a> Fix inline function identification</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/c03b37697a1e117995ea76203e5c0ce7d6696c4e"><code>c03b376</code></a> ir: Don't crash with built-in unexposed types from libclang.</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/0631a27bee19601e393e31e7dfc2563412b2fe01"><code>0631a27</code></a> Fix clippy warnings (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2336">#2336</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/e8ffb42ab66405ac56d04494a30e54b584f2d4dd"><code>e8ffb42</code></a> Wrap <code>unsafe</code> function's bodies in <code>unsafe</code> blocks (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2266">#2266</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/bae6170907dd27a1e854236e2cc7b4f637220977"><code>bae6170</code></a> Clean the implementation of <code>Default</code> for <code>BindgenOptions</code> (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2332">#2332</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rust-lang/rust-bindgen/compare/v0.61.0...v0.62.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` 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents 46baf14 + 7ddc3bf commit 00aace3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdnative-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rust-version = "1.63"
1616
libc = "0.2"
1717

1818
[build-dependencies]
19-
bindgen = { version = "0.61.0", default-features = false, features = ["runtime"] }
19+
bindgen = { version = "0.62.0", default-features = false, features = ["runtime"] }
2020
proc-macro2 = "1"
2121
quote = "1"
2222
miniserde = "0.1.16"

0 commit comments

Comments
 (0)