Skip to content

bindgen 0.71.1 #200347

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

Merged
merged 2 commits into from
Dec 9, 2024
Merged

bindgen 0.71.1 #200347

merged 2 commits into from
Dec 9, 2024

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

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

Upgrade to this release by updating your Cargo.toml:

bindgen = "0.71.0"

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
  • John Baublitz
  • Jonathan Schwender
  • Jubilee Young
  • Martin Kröning
  • Maxence Younsi
  • Miguel Ojeda
  • Mossa
  • myyrakle
  • Nik Konyuchenko
  • Valentin
  • Yuri Astrakhan
  • Zhang Jingqiang

Contributing

Want to join us? Check out our CONTRIBUTING.md and take a look
at some of these issues:

Want to help improve our documentation? Check out the issues labeled "docs".

Found a bug with bindgen? File an issue here.

@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Dec 6, 2024
@bevanjkay bevanjkay force-pushed the bump-bindgen-0.71.0 branch from e80d07e to fe65035 Compare December 7, 2024 01:07
@bevanjkay bevanjkay changed the title bindgen 0.71.0 bindgen: use github_latest livecheck strategy Dec 7, 2024
@bevanjkay bevanjkay force-pushed the bump-bindgen-0.71.0 branch from fe65035 to d0c8f0a Compare December 7, 2024 01:08
@bevanjkay bevanjkay changed the title bindgen: use github_latest livecheck strategy bindgen 0.71.0 Dec 7, 2024
@daeho-ro
Copy link
Member

daeho-ro commented Dec 7, 2024

Something has changed

@daeho-ro daeho-ro added upstream issue An upstream issue report is needed test failure CI fails while running the test-do block labels Dec 7, 2024
@chenrui333 chenrui333 added ready to merge PR can be merged once CI is green and removed upstream issue An upstream issue report is needed test failure CI fails while running the test-do block labels Dec 9, 2024
@chenrui333
Copy link
Member

@daeho-ro daeho-ro force-pushed the bump-bindgen-0.71.0 branch 2 times, most recently from f5f1d9f to 3d0ab85 Compare December 9, 2024 15:31
@daeho-ro daeho-ro changed the title bindgen 0.71.0 bindgen 0.71.1 Dec 9, 2024
@daeho-ro daeho-ro force-pushed the bump-bindgen-0.71.0 branch from 3d0ab85 to ffb3bd2 Compare December 9, 2024 15:31
Copy link
Contributor

github-actions bot commented Dec 9, 2024

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Dec 9, 2024
@BrewTestBot BrewTestBot enabled auto-merge December 9, 2024 16:07
@BrewTestBot BrewTestBot added this pull request to the merge queue Dec 9, 2024
Merged via the queue into master with commit 2323f86 Dec 9, 2024
15 checks passed
@BrewTestBot BrewTestBot deleted the bump-bindgen-0.71.0 branch December 9, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. ready to merge PR can be merged once CI is green rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants