Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
368: Update bindgen requirement from 0.63 to 0.64 r=lnicola 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/main/CHANGELOG.md">bindgen's changelog</a>.</em></p> <blockquote> <h1>0.64.0</h1> <h2>Added</h2> <ul> <li>Added a new set of flags <code>--with-derive-custom</code>, <code>--with-derive-custom-struct</code>, <code>--with-derive-custom-enum</code> and <code>--with-derive-custom-enum</code> to add custom derives from the CLI.</li> <li>Added the <code>--experimental</code> flag on <code>bindgen-cli</code> and the <code>experimental</code> feature on <code>bindgen</code> to gate experimental features whose implementation is incomplete or are prone to change in a non-backwards compatible manner.</li> <li>Added a new set of flags and their equivalent builder methods <code>--wrap-static-fns</code>, <code>--wrap-static-fns-suffix</code> and <code>--wrap-static-fns-path</code> to generate C function wrappers for <code>static</code> or <code>static inline</code> functions. This feature is experimental.</li> </ul> <h2>Changed</h2> <ul> <li>Fixed name collisions when having a C <code>enum</code> and a <code>typedef</code> with the same name.</li> <li>The <code>ParseCallbacks::generated_name_override</code> method now receives <code>ItemInfo<'_></code> as argument instead of a <code>&str</code>.</li> <li>Updated the <code>clang-sys</code> crate version to 1.4.0 to support clang 15.</li> <li>The return type is now ommited in signatures of functions returning <code>void</code>.</li> <li>Updated the <code>clap</code> dependency for <code>bindgen-cli</code> to 4.</li> <li>Rewrote the <code>bindgen-cli</code> argument parser which could introduce unexpected behavior changes.</li> <li>The <code>ParseCallbacks::add_derives</code> method now receives <code>DeriveInfo<'_></code> as argument instead of a <code>&str</code>. This type also includes the kind of target type.</li> </ul> <h2>Removed</h2> <h2>Fixed</h2> <h2>Security</h2> <h1>0.63.0</h1> <h2>Added</h2> <ul> <li>new feature: <code>process_comments</code> method to the <code>ParseCallbacks</code> trait to handle source code comments.</li> </ul> <h2>Changed</h2> <ul> <li>Only wrap unsafe operations in unsafe blocks if the <code>--wrap_unsafe_ops</code> option is enabled.</li> <li>Replace the <code>name: &str</code> argument for <code>ParseCallbacks::add_derives</code> by <code>info: DeriveInfo</code>.</li> <li>All the rust targets equal or lower than <code>1.30</code> are being deprecated and will be removed in the future. If you have a good reason to use any of these targets, please report it in the issue tracker.</li> </ul> <h2>Removed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/ae6817256ac557981906e93a1f866349db85053e"><code>ae68172</code></a> Release 0.64.0 Request (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2399">#2399</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/2be14a33451b0259bfed8e0fe517502e46fab7b6"><code>2be14a3</code></a> Generate extern wrappers for inlined functions (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2335">#2335</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/62b48c56703eb5f734b9a333b1ae2be10ffa303e"><code>62b48c5</code></a> Fix wrong entry in changelog (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2404">#2404</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/a7ff8e136027c9542f65eca97a7ff3c0b870518d"><code>a7ff8e1</code></a> Add *-espidf target triple mappings (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2397">#2397</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/bca47cd9c2e718012f7f953be25bb3a6a9ca400b"><code>bca47cd</code></a> Implement cli option for custom derive (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2328">#2328</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/190a017a100b00aeebe2c5e5acfd5ee699a655c9"><code>190a017</code></a> Migrate CLI argument parse to the clap <code>derive</code> API (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2390">#2390</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/758ec87c952bb9e82c2b1a7bd8c63ee20f0b25fb"><code>758ec87</code></a> Remove any references to <code>master</code> (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2391">#2391</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/6322b2d9eb3bbc59408606e72dae270511eccec1"><code>6322b2d</code></a> Add trigger for push to <code>main</code> branch for sync'ing with <code>master</code> (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2387">#2387</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/ed2d06eae31e94022961ef4ed1d8c784b3bc00d4"><code>ed2d06e</code></a> Update to clap 4. (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2380">#2380</a>)</li> <li><a href="https://github.com/rust-lang/rust-bindgen/commit/e6dd2c636302401a54f72ec1f3c74323bb7e49ab"><code>e6dd2c6</code></a> Document semantic difference between constructors and wrappers (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2385">#2385</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rust-lang/rust-bindgen/compare/v0.63.0...v0.64.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>
- Loading branch information