chore(deps): Update Rust crate bindgen to 0.72.0#1
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): Update Rust crate bindgen to 0.72.0#1renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
f6c5946 to
5ec912a
Compare
5ec912a to
9161d3b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.65.1→0.72.0Release Notes
rust-lang/rust-bindgen (bindgen)
v0.72.1Compare Source
This is just 0.72.0 with a fix for a breaking change in clang (see #3264 and related).
Full Changelog: rust-lang/rust-bindgen@v0.72.0...v0.72.1
v0.72.0Compare Source
Added
Changed
Removed
Fixed
rustfmt --format ...paramv0.71.1Compare Source
Fixed
--versionand--generate-shell-completions(#3040)v0.71.0Compare Source
Added
ParseCallbacks::new_item_foundcallback to expose the original and final name of structs, unions and enums (#2658).field_type_namefield toFieldInfoto expose the name of the type of a field (#2863)--with-attribute-customflag (#2866)--rust-targetto any Rust version supported by bindgen (#2993)--generate-cstrflag is used for Rust targets after 1.77 under the 2021 edition (#2996)--rust-editionflag which allows to select which Rust edition to target. (#3002, #3013)unsafe externinstead ofexternin blocks for any Rust target after 1.82. (#3015)Changed
--wrap-static-fnsrelated options no longer require the experimental feature or flag (#2928)Displayimplementation instead of theDebugone forBindgenErrorinbindgen-cli(#3005)Removed
Fixed
libloadingare now wrapped inunsafeblocks when using dynamic loading (#2961)ParseCallbacks::field_visibilitycallback is now called for newtypes as well (#2967)addr_ofandaddr_of_mutmacros under the 1.51 rust version (#2988)v0.70.1Compare Source
Added
Changed
Removed
Fixed
constlayout tests were triggering theunnecessary_operationandidentity_opclippy warnings.Security
v0.70.0Compare Source
Added
Changed
bindgen-clierrors to stderr instead of stdout (#2840)Removed
Fixed
--formatter=prettypleasenot working inbindgen-cliby addingprettypleasefeature andenabling it by default for
bindgen-cli(#2789) .--allowlist-itemso anonymous enums are no longer ignored (#2827).f64::INFINITY,f64::NEG_ INFINITY,f64::NAN(#2854).Security
tempfileandrustixdue to GHSA-c827-hfw6-qwvm.v0.69.5Compare Source
Install bindgen-cli 0.69.5
Install prebuilt binaries via shell script
Download bindgen-cli 0.69.5
v0.69.4Compare Source
Added
Changed
Removed
Fixed
Security
v0.69.3Compare Source
Added
Changed
Removed
Fixed
Security
v0.69.2Compare Source
Added
Changed
Removed
Fixed
Security
v0.69.1Compare Source
Fixed
bindgen -vwithout an input header argument.v0.69.0Compare Source
Added
ParseCallbacks::header_filecallback which runs on every filename passed toBuilder::header.CargoCallbacks::newconstructor which emits a cargo-rerun linefor every input header file by default.
CargoCallbacks::rerun_on_header_filesmethod to configure whethera cargo-rerun line should be emitted for every input header file.
Changed
--wrap-static-fnsfeature was updated so function types that has noargument use
voidas its sole argument.CargoCallbacksis no longer a unit-likestruct and the
CargoCallbacksconstant was added to mitigate the breaking nature of thischange. This constant has been marked as deprecated and users will have to
use the new
CargoCallbacks::newmethod in the future.Removed
Fixed
bindgen-cliwith a static libclang.as the target's pointer size.
Self,self,crateorsuper.Security
v0.68.1Compare Source
Fixed
v0.68.0Compare Source
Added
systemABI is now supported as an option for the--override-abiflag.allowlist_itemmethod and the--allowlist-itemflag have beenincluded to filter items regardless or their kind.
Changed
Cloneimplementation for_BindgenUnionFieldhas been changed to passthe
incorrect_clone_impl_on_copy_typeClippy lint.c_unwindABI can be used without a feature gate for any Rust target versionequal to or greater than 1.71.
This comes as a result of the ABI being stabilised (in Rust 1.71).
prettyplease version.
CStrconstants when using the--generate-cstroption.
Removed
extra_assertandextra_assert_eqmacros are no longer exported.Fixed
Rust keyword that cannot be a raw identifier, such as:
self,crate,superorSelf.v0.66.1Compare Source
Removed
v0.66.0Compare Source
Added
--generate-cstrCLI flag to generate string constants as&CStrinstead of
&[u8]. (Requires Rust 1.59 or higher.)--generate-shell-completionsCLI flag to generate completions fordifferent shells.
--wrap-static-fnsoption can now wrapva_listfunctions as variadic functionswith the experimental
ParseCallbacks::wrap_as_variadic_fnmethod.ParseCallbacks::field_visibilitymethod to modify field visibility.Changed
&[u8; SIZE])instead of arrays (
[u8; SIZE]) to match UTF-8 strings.voidno longer contain areturnstatement and only call the static function instead.
--wrap-static-fnsoption no longer emits wrappers for static variadicfunctions.
--depfileorBuilder::depfilewill now properlygenerate module names and paths that include spaces by escaping them. To make
the escaping clear and consistent, backslashes are also escaped.
bitflagsdependency to 2.2.1. This changes the API ofCodegenConfig.feature when depending on
bindgenas a library.auto-generated
_bindgen_*names having a different index.always public. Now, they follow the default visibility for the type they are
in.
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.
Removed
Remove redundant Cargo features, which were all implicit:
env_loggerandlogremoved in favor oflogginglogremoved in favor ofloggingwhichremoved in favor ofwhich-loggingannotate-snippetsremoved in favor ofexperimentalPrettyplease is available as a
Formattervariant now.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.