Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

chore(deps): update rust crate bindgen to 0.69.0 #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 14, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
bindgen (source) build-dependencies minor 0.65.1 -> 0.69.0

Release Notes

rust-lang/rust-bindgen (bindgen)

v0.69.4

Compare Source

Added

Changed

Removed

Fixed

Security

v0.69.3

Compare Source

Added

Changed

  • Use CR consistently on windows (#​2698)
  • Replaced peeking_take_while by itertools (#​2724)

Removed

Fixed

  • Try to avoid repr(packed) for explicitly aligned types when not needed (#​2734)
  • Improved destructor handling on Windows (#​2663)
  • Support Float16 (#​2667)
  • Fix alignment contribution from bitfields (#​2680)
  • Fixed msrv build.

Security

  • Updated shlex dependency (RUSTSEC-2024-0006)

v0.69.2

Compare Source

Added

Changed

Removed

Fixed

  • Fixed generation of extern "C" blocks with llvm 18+. See #​2689.

Security

v0.69.1

Compare Source

Fixed

  • Allow to run bindgen -v without an input header argument.

v0.69.0

Compare Source

Added

  • Added the ParseCallbacks::header_file callback which runs on every filename passed to Builder::header.
  • Added the CargoCallbacks::new constructor which emits a cargo-rerun line
    for every input header file by default.
  • Added the CargoCallbacks::rerun_on_header_files method to configure whether
    a cargo-rerun line should be emitted for every input header file.

Changed

  • The --wrap-static-fns feature was updated so function types that has no
    argument use void as its sole argument.
  • CargoCallbacks is no longer a unit-like
    struct
    and the
    CargoCallbacks constant was added to mitigate the breaking nature of this
    change. This constant has been marked as deprecated and users will have to
    use the new CargoCallbacks::new method in the future.

Removed

Fixed

  • Allow compiling bindgen-cli with a static libclang.
  • Emit an opaque integer type for pointer types that don't have the same size
    as the target's pointer size.
  • Avoid escaping Objective-C method names unless they are Self, self,
    crate or super.

Security

v0.68.1

Compare Source

Fixed

  • Fixed errors on the windows artifact build process.

v0.68.0

Compare Source

Added

  • The system ABI is now supported as an option for the --override-abi flag.
  • The allowlist_item method and the --allowlist-item flag have been
    included to filter items regardless or their kind.
  • Include installers as release artifacts on Github.

Changed

  • The Clone implementation for _BindgenUnionField has been changed to pass
    the incorrect_clone_impl_on_copy_type Clippy lint.
  • The c_unwind ABI can be used without a feature gate for any Rust target version
    equal to or greater than 1.71.
    This comes as a result of the ABI being stabilised (in Rust 1.71).
  • Formatting changes when using prettyplease as a formatter due to a new
    prettyplease version.
  • Avoid generating invalid CStr constants when using the --generate-cstr
    option.

Removed

  • The extra_assert and extra_assert_eq macros are no longer exported.

Fixed

  • Bindgen no longer panics when parsing an objective-C header that includes a
    Rust keyword that cannot be a raw identifier, such as: self, crate,
    super or Self.

v0.66.1

Compare Source

Removed

  • Revert source order sorting (#​2543) due to correctness regressions #​2558.

v0.66.0

Compare Source

Added

  • Added the --generate-cstr CLI flag to generate string constants as &CStr
    instead of &[u8]. (Requires Rust 1.59 or higher.)
  • Added the --generate-shell-completions CLI flag to generate completions for
    different shells.
  • The --wrap-static-fns option can now wrap va_list functions as variadic functions
    with the experimental ParseCallbacks::wrap_as_variadic_fn method.
  • Add target mappings for riscv32imc and riscv32imac.
  • Add the ParseCallbacks::field_visibility method to modify field visibility.

Changed

  • Non-UTF-8 string constants are now generated as references (&[u8; SIZE])
    instead of arrays ([u8; SIZE]) to match UTF-8 strings.
  • Wrappers for static functions that return void no longer contain a return
    statement and only call the static function instead.
  • The --wrap-static-fns option no longer emits wrappers for static variadic
    functions.
  • Depfiles generated with --depfile or Builder::depfile will now properly
    generate module names and paths that include spaces by escaping them. To make
    the escaping clear and consistent, backslashes are also escaped.
  • Updated bitflags dependency to 2.2.1. This changes the API of CodegenConfig.
  • Prettyplease formatting is gated by an optional, enabled by default Cargo
    feature when depending on bindgen as a library.
  • Items are now parsed in the order they appear in source files. This may result in
    auto-generated _bindgen_* names having a different index.
  • Use default visibility for padding fields: Previously, padding fields were
    always public. Now, they follow the default visibility for the type they are
    in.
  • Compute visibility of bitfield unit based on actual field visibility: A
    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:

    • bindgen-cli: env_logger and log removed in favor of logging
    • bindgen (lib):
      • log removed in favor of logging
      • which removed in favor of which-logging
      • annotate-snippets removed in favor of experimental
  • Prettyplease is available as a Formatter variant 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update rust crate bindgen to 0.66.0 chore(deps): update rust crate bindgen to 0.66.1 Jun 19, 2023
@renovate renovate bot force-pushed the renovate/bindgen-0.x branch from 17cc7cd to 4d07261 Compare June 19, 2023 09:34
@renovate renovate bot force-pushed the renovate/bindgen-0.x branch from 4d07261 to 779281f Compare September 6, 2023 20:08
@renovate renovate bot changed the title chore(deps): update rust crate bindgen to 0.66.1 chore(deps): update rust crate bindgen to 0.68.1 Sep 6, 2023
@renovate renovate bot force-pushed the renovate/bindgen-0.x branch from 779281f to 567db45 Compare November 1, 2023 19:18
@renovate renovate bot changed the title chore(deps): update rust crate bindgen to 0.68.1 chore(deps): update rust crate bindgen to 0.69.0 Nov 1, 2023
@renovate renovate bot changed the title chore(deps): update rust crate bindgen to 0.69.0 chore(deps): update rust crate bindgen to 0.69.1 Nov 2, 2023
@renovate renovate bot force-pushed the renovate/bindgen-0.x branch from 567db45 to fa61507 Compare November 2, 2023 19:26
@renovate renovate bot force-pushed the renovate/bindgen-0.x branch from fa61507 to d3f25a1 Compare January 13, 2024 01:18
@renovate renovate bot changed the title chore(deps): update rust crate bindgen to 0.69.1 chore(deps): update rust crate bindgen to 0.69.2 Jan 13, 2024
@renovate renovate bot force-pushed the renovate/bindgen-0.x branch from d3f25a1 to 244b0ea Compare February 4, 2024 16:03
@renovate renovate bot changed the title chore(deps): update rust crate bindgen to 0.69.2 chore(deps): update rust crate bindgen to 0.69.4 Feb 4, 2024
@renovate renovate bot force-pushed the renovate/bindgen-0.x branch from 244b0ea to adae3a4 Compare May 5, 2024 11:12
@renovate renovate bot changed the title chore(deps): update rust crate bindgen to 0.69.4 chore(deps): update rust crate bindgen to 0.69.0 May 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants