Skip to content

Commit

Permalink
Merge #1052
Browse files Browse the repository at this point in the history
1052: Update bindgen requirement from 0.66.0 to 0.68.1 r=chitoyuu a=dependabot[bot]

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.68.1</h2>
<h2>Install bindgen-cli 0.68.1</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/download/v0.68.1/bindgen-cli-installer.sh | sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>irm https://github.com/rust-lang/rust-bindgen/releases/download/v0.68.1/bindgen-cli-installer.ps1 | iex
</code></pre>
<h2>Download bindgen-cli 0.68.1</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/rust-lang/rust-bindgen/releases/download/v0.68.1/bindgen-cli-aarch64-apple-darwin.tar.xz">bindgen-cli-aarch64-apple-darwin.tar.xz</a></td>
<td>macOS Apple Silicon</td>
<td><a href="https://github.com/rust-lang/rust-bindgen/releases/download/v0.68.1/bindgen-cli-aarch64-apple-darwin.tar.xz.sha256">checksum</a></td>
</tr>
<tr>
<td><a href="https://github.com/rust-lang/rust-bindgen/releases/download/v0.68.1/bindgen-cli-x86_64-apple-darwin.tar.xz">bindgen-cli-x86_64-apple-darwin.tar.xz</a></td>
<td>macOS Intel</td>
<td><a href="https://github.com/rust-lang/rust-bindgen/releases/download/v0.68.1/bindgen-cli-x86_64-apple-darwin.tar.xz.sha256">checksum</a></td>
</tr>
<tr>
<td><a href="https://github.com/rust-lang/rust-bindgen/releases/download/v0.68.1/bindgen-cli-x86_64-unknown-linux-gnu.tar.xz">bindgen-cli-x86_64-unknown-linux-gnu.tar.xz</a></td>
<td>Linux x64</td>
<td><a href="https://github.com/rust-lang/rust-bindgen/releases/download/v0.68.1/bindgen-cli-x86_64-unknown-linux-gnu.tar.xz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
</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.68.1</h1>
<h2>Fixed</h2>
<ul>
<li>Fixed errors on the windows artifact build process.</li>
</ul>
<h1>0.68.0</h1>
<h2>Added</h2>
<ul>
<li>The <code>system</code> ABI is now supported as an option for the <code>--override-abi</code> flag.</li>
<li>The <code>allowlist_item</code> method and the <code>--allowlist-item</code> flag have been
included to filter items regardless or their kind.</li>
<li>Include installers as release artifacts on Github.</li>
</ul>
<h2>Changed</h2>
<ul>
<li>The <code>Clone</code> implementation for <code>_BindgenUnionField</code> has been changed to pass
the <code>incorrect_clone_impl_on_copy_type</code> Clippy lint.</li>
<li>The <code>c_unwind</code> ABI can be used without a feature gate for any Rust target version
equal to or greater than 1.71.
This comes as a result of the ABI being stabilised (in Rust 1.71).</li>
<li>Formatting changes when using prettyplease as a formatter due to a new
prettyplease version.</li>
<li>Avoid generating invalid <code>CStr</code> constants when using the <code>--generate-cstr</code>
option.</li>
</ul>
<h2>Removed</h2>
<ul>
<li>The <code>extra_assert</code> and <code>extra_assert_eq</code> macros are no longer exported.</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Bindgen no longer panics when parsing an objective-C header that includes a
Rust keyword that cannot be a raw identifier, such as: <code>self</code>, <code>crate</code>,
<code>super</code> or <code>Self</code>.</li>
</ul>
<h1>0.67.0</h1>
<p>This version was skipped due to some problems on the release workflow.</p>
<h1>0.66.1</h1>
<h2>Removed</h2>
<ul>
<li>Revert source order sorting (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2543">#2543</a>) due to correctness regressions <a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2558">#2558</a>.</li>
</ul>
<h1>0.66.0</h1>
<h2>Added</h2>
<ul>
<li>Added the <code>--generate-cstr</code> CLI flag to generate string constants as <code>&amp;CStr</code>
instead of <code>&amp;[u8]</code>. (Requires Rust 1.59 or higher.)</li>
<li>Added the <code>--generate-shell-completions</code> CLI flag to generate completions for
different shells.</li>
<li>The <code>--wrap-static-fns</code> option can now wrap <code>va_list</code> functions as variadic functions
with the experimental <code>ParseCallbacks::wrap_as_variadic_fn</code> method.</li>
<li>Add target mappings for riscv32imc and riscv32imac.</li>
<li>Add the <code>ParseCallbacks::field_visibility</code> method to modify field visibility.</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/8d75a02bbb5c64e85e6ce62b57d52b7df9c61c79"><code>8d75a02</code></a> chore: Release</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/a21e60b5087edfe50d94093255122baae5697aea"><code>a21e60b</code></a> Release preparation for v0.68.1 (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2627">#2627</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/ebcf0bcc8bba113d82d0f1e0cbede40ccffc6e8f"><code>ebcf0bc</code></a> chore: Release</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/59102e9b531d55ccee5f652cb63295f621971df7"><code>59102e9</code></a> chore: Release</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/f623bfb5c35d8100fe20cbf35529d3fd2e9ea060"><code>f623bfb</code></a> Don't release anything by default (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2623">#2623</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/073fa628ac66f7a96f5bb184505046341d105a16"><code>073fa62</code></a> test cli and lib msrv separately (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2625">#2625</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/b52377ab5148b54aa6ac63fab1fd4f352c044da0"><code>b52377a</code></a> Update CHANGELOG.md (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2622">#2622</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/1d74af3a12f0a6718339069ec084050dc134e306"><code>1d74af3</code></a> Don't delete the lockfile on the msrv workflow (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2621">#2621</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/ef2fb793e9894afae7423796200293d06661c1a4"><code>ef2fb79</code></a> make search less surprising (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2613">#2613</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/ea3f8a75b3f38fb3d8201e5401783754ca4733a6"><code>ea3f8a7</code></a> there been editors not affilicated with Servo (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2615">#2615</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/rust-bindgen/compare/v0.66.0...v0.68.1">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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
bors[bot] and dependabot[bot] authored Sep 24, 2023
2 parents cfa763a + cd11ca8 commit 66cd8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdnative-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version = "1.67"
libc = "0.2"

[build-dependencies]
bindgen = { version = "0.66.0", default-features = false, features = ["runtime"] }
bindgen = { version = "0.68.1", default-features = false, features = ["runtime"] }
proc-macro2 = "1"
quote = "1"
miniserde = "0.1.16"
Expand Down

0 comments on commit 66cd8d9

Please sign in to comment.