Skip to content

Commit

Permalink
Bump bindgen from 0.70.1 to 0.71.0 (#52)
Browse files Browse the repository at this point in the history
Bumps [bindgen](https://github.com/rust-lang/rust-bindgen) from 0.70.1
to 0.71.0.
<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.71.0</h2>
<p><code>bindgen</code> automatically generates Rust FFI bindings to C
and C++ libraries.</p>
<p>Upgrade to this release by updating your <code>Cargo.toml</code>:</p>
<pre lang="toml"><code>bindgen = &quot;0.71.0&quot;
</code></pre>
<ul>
<li>[GitHub]</li>
<li>[crates.io]</li>
<li>[Users Guide][guide]</li>
<li>[API Documentation][docs]</li>
</ul>
<h1>Changelog</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>
<h2>Removed</h2>
<ul>
<li>Dropped support for any Clang versions strictly lower than 9.0 (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2932">#2932</a>)</li>
<li>Dropped support for any Rust version strictly lower than 1.33 (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2993">#2993</a>)</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Represent opaque types in a FFI-safe way (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2880">#2880</a>)</li>
<li>Use the underlying type of any atomic type instead of panicking (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2920">#2920</a>)</li>
<li>Use the right characters for newlines on windows (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2923">#2923</a>)</li>
<li>Inlined namespaces are properly recognized now (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2950">#2950</a>)</li>
<li>Unsafe calls to <code>libloading</code> are now wrapped in
<code>unsafe</code> blocks when using dynamic loading (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2961">#2961</a>)</li>
<li>The <code>ParseCallbacks::field_visibility</code> callback is now
called for newtypes as well (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2967">#2967</a>)</li>
<li>Gate the use of the <code>addr_of</code> and
<code>addr_of_mut</code> macros under the 1.51 rust version (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2988">#2988</a>)</li>
</ul>
<h1>Friends</h1>
<p>Thanks to everyone who contributed to this release!</p>
<ul>
<li>Brian Ward</li>
<li>Christiaan Biesterbosch</li>
<li>Christian Poveda</li>
<li>David Tolnay</li>
<li>Emilio Cobos Álvarez</li>
<li>Enes</li>
<li>George Bateman</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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.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>
<h2>Removed</h2>
<ul>
<li>Dropped support for any Clang versions strictly lower than 9.0 (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2932">#2932</a>)</li>
<li>Dropped support for any Rust version strictly lower than 1.33 (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2993">#2993</a>)</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Represent opaque types in a FFI-safe way (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2880">#2880</a>)</li>
<li>Use the underlying type of any atomic type instead of panicking (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2920">#2920</a>)</li>
<li>Use the right characters for newlines on windows (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2923">#2923</a>)</li>
<li>Inlined namespaces are properly recognized now (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2950">#2950</a>)</li>
<li>Unsafe calls to <code>libloading</code> are now wrapped in
<code>unsafe</code> blocks when using dynamic loading (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2961">#2961</a>)</li>
<li>The <code>ParseCallbacks::field_visibility</code> callback is now
called for newtypes as well (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2967">#2967</a>)</li>
<li>Gate the use of the <code>addr_of</code> and
<code>addr_of_mut</code> macros under the 1.51 rust version (<a
href="https://redirect.github.com/rust-lang/rust-bindgen/issues/2988">#2988</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/d3c489f466b26ac062a993c33ba4c3a9f4e58cbe"><code>d3c489f</code></a>
Add version field to <code>bindgen</code> as a dependency</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/c683f6f7dfac713f9881d12a57de2bdd4e4da4ca"><code>c683f6f</code></a>
chore: bump versions</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/80c7bcf738915dda522fd6c3da928f354893d546"><code>80c7bcf</code></a>
chore: update changelog</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/2da868db62745045d4fc5987663da85035ffa520"><code>2da868d</code></a>
ci: remove <code>main_tests</code> from matrix</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/798d61832fc40b340307dcf0deb36b754e23c75c"><code>798d618</code></a>
ci: remove unused targets</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/42218df0668eedc04e681a134fd7bceeba9f1623"><code>42218df</code></a>
docs(book): fix inconsistent use of Clang versions</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/260779805ca02db086d836919adca3bd2eb8f475"><code>2607798</code></a>
docs(book): fix package name for the extra Clang tools</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/eeca12ded27777f45a55c1691d117643239502b0"><code>eeca12d</code></a>
ci: Move forward Rust for Linux version to v6.13-rc1</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/a154af5a3978fdd336754e4268a57f7d99c9a31e"><code>a154af5</code></a>
Use <code>KyleMayes/install-llvm-action</code> to install LLVM</li>
<li><a
href="https://github.com/rust-lang/rust-bindgen/commit/cce8f7edad7c4c36619aab3067ce90b29dceac81"><code>cce8f7e</code></a>
Use <code>macos-latest</code> on CI</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/rust-bindgen/compare/v0.70.1...v0.71.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bindgen&package-manager=cargo&previous-version=0.70.1&new-version=0.71.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 7, 2024
1 parent 423b008 commit a8b97fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ links = "MLIR"
license-file = "LICENSE"

[build-dependencies]
bindgen = "0.70.1"
bindgen = "0.71.0"

0 comments on commit a8b97fe

Please sign in to comment.