Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bindgen requirement from 0.70 to 0.71 #98

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2024

Updates the requirements on bindgen to permit the latest version.

Release notes

Sourced from bindgen's releases.

v0.71.0

bindgen automatically generates Rust FFI bindings to C and C++ libraries.

Upgrade to this release by updating your Cargo.toml:

bindgen = "0.71.0"
  • [GitHub]
  • [crates.io]
  • [Users Guide][guide]
  • [API Documentation][docs]

Changelog

Added

  • Add the ParseCallbacks::new_item_found callback to expose the original and final name of structs, unions and enums (#2658).
  • Add the field_type_name field to FieldInfo to expose the name of the type of a field (#2863)
  • Add support for custom attributes with the --with-attribute-custom flag (#2866)
  • Allow setting --rust-target to any Rust version supported by bindgen (#2993)
  • Use c-string literals if the --generate-cstr flag is used for Rust targets after 1.77 under the 2021 edition (#2996)
  • Add the --rust-edition flag which allows to select which Rust edition to target. (#3002, #3013)
  • Use unsafe extern instead of extern in blocks for any Rust target after 1.82. (#3015)

Changed

  • The --wrap-static-fns related options no longer require the experimental feature or flag (#2928)
  • Use the Display implementation instead of the Debug one for BindgenError in bindgen-cli (#3005)

Removed

  • Dropped support for any Clang versions strictly lower than 9.0 (#2932)
  • Dropped support for any Rust version strictly lower than 1.33 (#2993)

Fixed

  • Represent opaque types in a FFI-safe way (#2880)
  • Use the underlying type of any atomic type instead of panicking (#2920)
  • Use the right characters for newlines on windows (#2923)
  • Inlined namespaces are properly recognized now (#2950)
  • Unsafe calls to libloading are now wrapped in unsafe blocks when using dynamic loading (#2961)
  • The ParseCallbacks::field_visibility callback is now called for newtypes as well (#2967)
  • Gate the use of the addr_of and addr_of_mut macros under the 1.51 rust version (#2988)

Friends

Thanks to everyone who contributed to this release!

  • Brian Ward
  • Christiaan Biesterbosch
  • Christian Poveda
  • David Tolnay
  • Emilio Cobos Álvarez
  • Enes
  • George Bateman

... (truncated)

Changelog

Sourced from bindgen's changelog.

0.71.0 (2024-12-06)

Added

  • Add the ParseCallbacks::new_item_found callback to expose the original and final name of structs, unions and enums (#2658).
  • Add the field_type_name field to FieldInfo to expose the name of the type of a field (#2863)
  • Add support for custom attributes with the --with-attribute-custom flag (#2866)
  • Allow setting --rust-target to any Rust version supported by bindgen (#2993)
  • Use c-string literals if the --generate-cstr flag is used for Rust targets after 1.77 under the 2021 edition (#2996)
  • Add the --rust-edition flag which allows to select which Rust edition to target. (#3002, #3013)
  • Use unsafe extern instead of extern in blocks for any Rust target after 1.82. (#3015)

Changed

  • The --wrap-static-fns related options no longer require the experimental feature or flag (#2928)
  • Use the Display implementation instead of the Debug one for BindgenError in bindgen-cli (#3005)

Removed

  • Dropped support for any Clang versions strictly lower than 9.0 (#2932)
  • Dropped support for any Rust version strictly lower than 1.33 (#2993)

Fixed

  • Represent opaque types in a FFI-safe way (#2880)
  • Use the underlying type of any atomic type instead of panicking (#2920)
  • Use the right characters for newlines on windows (#2923)
  • Inlined namespaces are properly recognized now (#2950)
  • Unsafe calls to libloading are now wrapped in unsafe blocks when using dynamic loading (#2961)
  • The ParseCallbacks::field_visibility callback is now called for newtypes as well (#2967)
  • Gate the use of the addr_of and addr_of_mut macros under the 1.51 rust version (#2988)

0.70.1 (2024-08-20)

Added

Changed

Removed

Fixed

  • Fix regression where the const layout tests were triggering the unnecessary_operation and identity_op clippy warnings.

Security

0.70.0 (2024-08-16)

Added

  • Add target mappings for riscv64imac and riscv32imafc.
  • Add a complex macro fallback API (#2779).
  • Add option to use DST structs for flexible arrays (--flexarray-dst, #2772).
  • Add option to dynamically load variables (#2812).
  • Add option in CLI to use rustified non-exhaustive enums (--rustified-non-exhaustive-enum, #2847).
  • Add field_type_name to FieldInfo.

Changed

  • Remove which and lazy-static dependencies (#2809, #2817).
  • Generate compile-time layout tests (#2787).
  • Print bindgen-cli errors to stderr instead of stdout (#2840)

Removed

Fixed

  • Fix --formatter=prettyplease not working in bindgen-cli by adding prettyplease feature and enabling it by default for bindgen-cli (#2789) .
  • Fix --allowlist-item so anonymous enums are no longer ignored (#2827).
  • Use clang_getFileLocation instead of clang_getSpellingLocation to fix clang-trunk (#2824).

... (truncated)

Commits
  • d3c489f Add version field to bindgen as a dependency
  • c683f6f chore: bump versions
  • 80c7bcf chore: update changelog
  • 2da868d ci: remove main_tests from matrix
  • 798d618 ci: remove unused targets
  • 42218df docs(book): fix inconsistent use of Clang versions
  • 2607798 docs(book): fix package name for the extra Clang tools
  • eeca12d ci: Move forward Rust for Linux version to v6.13-rc1
  • a154af5 Use KyleMayes/install-llvm-action to install LLVM
  • cce8f7e Use macos-latest on CI
  • Additional commits viewable in compare view

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 commands and options

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)

Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen) to permit the latest version.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases)
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md)
- [Commits](rust-lang/rust-bindgen@v0.70.0...v0.71.0)

---
updated-dependencies:
- dependency-name: bindgen
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 9, 2024
@messense messense merged commit a55cda7 into main Dec 9, 2024
11 checks passed
@messense messense deleted the dependabot/cargo/bindgen-0.71 branch December 9, 2024 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant