Skip to content

Commit

Permalink
Merge #1050
Browse files Browse the repository at this point in the history
1050: Update bindgen requirement from 0.65.1 to 0.66.0 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.66.0</h2>
<p>See the <a href="https://redirect.github.com/rust-lang/rust-bindgen/blob/264075a6362f951e90240a976428f0225652d27c/CHANGELOG.md?%5B#0660%5D(https://redirect.github.com/rust-lang/rust-bindgen/issues/0660)">changelog</a> for further information.</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.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>
<h2>Changed</h2>
<ul>
<li>Non-UTF-8 string constants are now generated as references (<code>&amp;[u8; SIZE]</code>)
instead of arrays (<code>[u8; SIZE]</code>) to match UTF-8 strings.</li>
<li>Wrappers for static functions that return <code>void</code> no longer contain a <code>return</code>
statement and only call the static function instead.</li>
<li>The <code>--wrap-static-fns</code> option no longer emits wrappers for static variadic
functions.</li>
<li>Depfiles generated with <code>--depfile</code> or <code>Builder::depfile</code> will now properly
generate module names and paths that include spaces by escaping them. To make
the escaping clear and consistent, backslashes are also escaped.</li>
<li>Updated <code>bitflags</code> dependency to 2.2.1. This changes the API of <code>CodegenConfig</code>.</li>
<li>Prettyplease formatting is gated by an optional, enabled by default Cargo
feature when depending on <code>bindgen</code> as a library.</li>
<li>Items are now parsed in the order they appear in source files. This may result in
auto-generated <code>_bindgen_*</code> names having a different index.</li>
<li>Use default visibility for padding fields: Previously, padding fields were
always public. Now, they follow the default visibility for the type they are
in.</li>
<li>Compute visibility of bitfield unit based on actual field visibility: A
bitfield unit field and its related functions now have their visibility
determined based on the most private between the default visibility and the
actual visibility of the bitfields within the unit.</li>
</ul>
<h2>Removed</h2>
<ul>
<li>
<p>Remove redundant Cargo features, which were all implicit:</p>
<ul>
<li>bindgen-cli: <code>env_logger</code> and <code>log</code> removed in favor of <code>logging</code></li>
<li>bindgen (lib):
<ul>
<li><code>log</code> removed in favor of <code>logging</code></li>
<li><code>which</code> removed in favor of <code>which-logging</code></li>
<li><code>annotate-snippets</code> removed in favor of <code>experimental</code></li>
</ul>
</li>
</ul>
</li>
<li>
<p>Prettyplease is available as a <code>Formatter</code> variant now.</p>
</li>
</ul>
<h1>0.65.1</h1>
<h2>Fixed</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/264075a6362f951e90240a976428f0225652d27c"><code>264075a</code></a> 0.66.0 release preparation (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2555">#2555</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/2665f1c9d02552ebdc9e5b001e134343644482bd"><code>2665f1c</code></a> Improve the <code>blocklist_*</code> and <code>allowlist_*</code> documentation. (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2554">#2554</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/bbeddb657fd33b49d269c9b3a71cb85c7a6c952b"><code>bbeddb6</code></a> Use <code>syn::Type</code> instead of raw <code>TokenStream</code>. (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2549">#2549</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/38a2c93d9445366a0ac7ef5bbdd3aa964d484faf"><code>38a2c93</code></a> some doc fixes (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2552">#2552</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/9042f42b2e58e1997b8957a762cab552a8708b96"><code>9042f42</code></a> rustfmt cleanup (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2553">#2553</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/df439e94047970cbae7d2b534d2d20143420ced9"><code>df439e9</code></a> fix and simplify language (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2528">#2528</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/81b3ce74dfbcf0656965c3ece3bb4fb7266c95d1"><code>81b3ce7</code></a> it's a redirect (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2530">#2530</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/d56f53d2ad0c9293980ccaccf86a1aa66f2e2539"><code>d56f53d</code></a> Add target mappings for riscv32imc and riscv32imac (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2551">#2551</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/2261681f735c735c9a7c0d8e36fdab0ca39c211d"><code>2261681</code></a> avoid implicit Cargo features (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2539">#2539</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/83f729f44819459665832459cb86b68b4fc3739f"><code>83f729f</code></a> Parse code by source order. (<a href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2543">#2543</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/rust-bindgen/compare/v0.65.1...v0.66.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
bors[bot] and dependabot[bot] committed Jul 9, 2023
2 parents 717b8db + 4379913 commit 1c6b364
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.65.1", default-features = false, features = ["runtime"] }
bindgen = { version = "0.66.0", default-features = false, features = ["runtime"] }
proc-macro2 = "1"
quote = "1"
miniserde = "0.1.16"
Expand Down

0 comments on commit 1c6b364

Please sign in to comment.