forked from rustdesk/rustdesk
Update Rust crate bindgen to 0.71 #25
Open
renovatebot
wants to merge 1 commit from
renovate/bindgen-0.x into master
pull from: renovate/bindgen-0.x
merge into: test-actions:master
test-actions:master
test-actions:renovate/nix-0.x
test-actions:renovate/external_path-2.x
test-actions:renovate/xattr-1.x-lockfile
test-actions:renovate/wol-rs-1.x-lockfile
test-actions:renovate/uuid-1.x-lockfile
test-actions:renovate/unicode-segmentation-1.x-lockfile
test-actions:renovate/totp-rs-5.x-lockfile
test-actions:renovate/pulse-2.x-lockfile
test-actions:renovate/psimple-2.x-lockfile
test-actions:renovate/once_cell-1.x-lockfile
test-actions:renovate/num_cpus-1.x-lockfile
test-actions:renovate/cc-1.x-lockfile
test-actions:renovate/serde-monorepo
test-actions:renovate/url-2.x-lockfile
test-actions:renovate/tokio-tracing-monorepo
test-actions:renovate/thiserror-1.x-lockfile
test-actions:renovate/sys-locale-0.x-lockfile
test-actions:renovate/sha2-0.x-lockfile
test-actions:renovate/serde_repr-0.x-lockfile
test-actions:renovate/serde_json-1.x-lockfile
test-actions:renovate/pkg-config-0.x-lockfile
test-actions:renovate/parking_lot-0.x-lockfile
test-actions:renovate/mac_address-1.x-lockfile
test-actions:renovate/log-0.x-lockfile
test-actions:renovate/libloading-0.x-lockfile
test-actions:renovate/libc-0.x-lockfile
test-actions:renovate/gtk-0.x-lockfile
test-actions:renovate/errno-0.x-lockfile
test-actions:renovate/ctrlc-3.x-lockfile
test-actions:renovate/crossbeam-queue-0.x-lockfile
test-actions:renovate/clap-4.x-lockfile
test-actions:renovate/async-trait-0.x-lockfile
test-actions:renovate/softprops-action-gh-release-2.x
test-actions:renovate/zip-4.x
test-actions:renovate/thiserror-2.x
test-actions:renovate/qrcode-generator-5.x
test-actions:renovate/dirs-6.x
test-actions:renovate/dashmap-6.x
test-actions:renovate/brotli-8.x
test-actions:renovate/async-process-2.x
test-actions:renovate/major-protobuf-monorepo
test-actions:renovate/com.android.application-8.x
test-actions:renovate/kylemayes-install-llvm-action-2.x
test-actions:renovate/vite-6.x
test-actions:renovate/uuid-4.x
test-actions:renovate/ubuntu-24.x
test-actions:renovate/typescript-5.x
test-actions:renovate/ts-proto-2.x
test-actions:renovate/package_info_plus-8.x
test-actions:renovate/icons_launcher-3.x
test-actions:renovate/gradle-8.x
test-actions:renovate/freezed_annotation-3.x
test-actions:renovate/freezed-3.x
test-actions:renovate/flutter_rust_bridge-2.x
test-actions:renovate/flutter_lints-6.x
test-actions:renovate/flutter_keyboard_visibility-6.x
test-actions:renovate/file_picker-10.x
test-actions:renovate/ffigen-19.x
test-actions:renovate/extended_text-15.x
test-actions:renovate/device_info_plus-11.x
test-actions:renovate/back_button_interceptor-8.x
test-actions:renovate/apple-actions-import-codesign-certs-5.x
test-actions:renovate/actions-github-script-7.x
test-actions:renovate/actions-checkout-4.x
test-actions:renovate/actions-cache-4.x
test-actions:renovate/subosito-flutter-action-2.x
test-actions:renovate/x11rb-0.x
test-actions:renovate/winreg-0.x
test-actions:renovate/windows-strings-0.x
test-actions:renovate/windows-service-0.x
test-actions:renovate/tauri-winrt-notification-0.x
test-actions:renovate/rubato-0.x
test-actions:renovate/ringbuf-0.x
test-actions:renovate/rand-0.x
test-actions:renovate/objc2-foundation-0.x
test-actions:renovate/objc2-app-kit-0.x
test-actions:renovate/objc2-0.x
test-actions:renovate/ndk-0.x
test-actions:renovate/image-0.x
test-actions:renovate/default-net-0.x
test-actions:renovate/core-graphics-0.x
test-actions:renovate/core-foundation-0.x
test-actions:renovate/cocoa-0.x
test-actions:renovate/cidr-utils-0.x
test-actions:renovate/android_logger-0.x
test-actions:renovate/protobuf-monorepo
test-actions:renovate/com.android.application-7.x
test-actions:renovate/gstreamer-rust-monorepo
test-actions:renovate/zstddec-0.x
test-actions:renovate/vite-2.x
test-actions:renovate/uni_links_desktop-0.x
test-actions:renovate/typescript-4.x
test-actions:renovate/scroll_pos-0.x
test-actions:renovate/pull_down_button-0.x
test-actions:renovate/flutter_rust_bridge-1.x
test-actions:renovate/flutter_launcher_icons-0.x
test-actions:renovate/extended_text-14.x
test-actions:renovate/desktop_drop-0.x
test-actions:renovate/com.github.getactivity-xxpermissions-18.x
test-actions:renovate/androidx.media-media-1.x
test-actions:renovate/com.google.protobuf-0.x
test-actions:renovate/pcm-player-0.x
test-actions:renovate/gradle-7.x
test-actions:renovate/pin-dependencies
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
test-actions/rustdesk!25
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/bindgen-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.65->0.71Release Notes
rust-lang/rust-bindgen (bindgen)
v0.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 has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: Cargo.lock
835a8fad12b489d60cd2