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

Update Rust crate bindgen to 0.71.0 #21879

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2024

This PR contains the following updates:

Package Type Update Change
bindgen (source) build-dependencies minor 0.70.0 -> 0.71.0

Release Notes

rust-lang/rust-bindgen (bindgen)

v0.71.1

Compare Source

Fixed

  • Fix --version and --generate-shell-completions (#​3040)

v0.71.0

Compare Source

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)

Configuration

📅 Schedule: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, 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

Release Notes:

  • N/A

Copy link
Contributor Author

renovate bot commented Dec 11, 2024

⚠️ Artifact update problem

Renovate failed to update artifacts 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/gpui/Cargo.toml --package [email protected] --precise 0.71.1
    Updating crates.io index
error: failed to select a version for the requirement `bindgen = "^0.70"`
candidate versions found which didn't match: 0.71.1
location searched: crates.io index
required by package `coreaudio-sys v0.2.16`
    ... which satisfies dependency `coreaudio-sys = "^0.2"` (locked to 0.2.16) of package `coreaudio-rs v0.12.1`
    ... which satisfies dependency `coreaudio-rs = "^0.12.1"` (locked to 0.12.1) of package `livekit_client v0.1.0 (/tmp/renovate/repos/github/zed-industries/zed/crates/livekit_client)`
    ... which satisfies path dependency `livekit_client` (locked to 0.1.0) of package `collab v0.44.0 (/tmp/renovate/repos/github/zed-industries/zed/crates/collab)`

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/media/Cargo.toml --package [email protected] --precise 0.71.1
    Updating crates.io index
error: failed to select a version for the requirement `bindgen = "^0.70"`
candidate versions found which didn't match: 0.71.1
location searched: crates.io index
required by package `coreaudio-sys v0.2.16`
    ... which satisfies dependency `coreaudio-sys = "^0.2"` (locked to 0.2.16) of package `coreaudio-rs v0.12.1`
    ... which satisfies dependency `coreaudio-rs = "^0.12.1"` (locked to 0.12.1) of package `livekit_client v0.1.0 (/tmp/renovate/repos/github/zed-industries/zed/crates/livekit_client)`
    ... which satisfies path dependency `livekit_client` (locked to 0.1.0) of package `collab v0.44.0 (/tmp/renovate/repos/github/zed-industries/zed/crates/collab)`

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants