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

build(deps): update bindgen requirement from 0.65 to 0.66 in /tools/xdp #1935

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2023

Updates the requirements on bindgen to permit the latest version.

Changelog

Sourced from bindgen's changelog.

0.66.1

Removed

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

0.66.0

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

... (truncated)

Commits

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 25, 2023
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.65.0...v0.66.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/tools/xdp/bindgen-0.66 branch from 61db558 to 76e99c3 Compare August 25, 2023 21:06
@camshaft camshaft enabled auto-merge (squash) August 25, 2023 21:08
@camshaft camshaft merged commit f7dd784 into main Aug 25, 2023
127 of 129 checks passed
@camshaft camshaft deleted the dependabot/cargo/tools/xdp/bindgen-0.66 branch August 25, 2023 21:38
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant