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 bindgen requirement from 0.56 to 0.59 #54

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2022

Updates the requirements on bindgen to permit the latest version.

Changelog

Sourced from bindgen's changelog.

... (truncated)

Commits
  • 8903264 Bump version.
  • 7bd2329 Add --blocklist-file option (#2097)
  • 04f5c07 Drop 'static for pub const strings for rustc>1.17
  • 302b484 Typo fix: "in side" -> "inside"
  • 0a24ab3 allow custom derives on enums
  • 2aed6b0 context: Escape the try keyword properly
  • da3f3a3 Avoid case of a self-referential type alias.
  • 5785340 Don't generate 2^64 byte padding fields on unions
  • 9738fb9 Avoid transmute
  • f91e1a6 Fix separator and treating expression
  • Additional commits viewable in compare view

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 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)

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/master/CHANGELOG.md)
- [Commits](rust-lang/rust-bindgen@v0.56.0...v0.59.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 27, 2022
@xMAC94x
Copy link

xMAC94x commented Apr 2, 2022

@mitchmindtree can we have this dependency upgraded please ?

@MichaelHills
Copy link
Contributor

I checked that sine/feedback examples worked. I'm happy to merge and publish, but what's the correct version bump for something like this? cc @simlay

@est31
Copy link
Member

est31 commented Apr 16, 2022

@MichaelHills what do the past releases (history) say?

@simlay
Copy link
Member

simlay commented Apr 16, 2022

@MichaelHills what do the past releases (history) say?

I mean, if there's not breaking changes to the generated bindings, a patch release seems correct to me. I pulled this PR into patch.crates-io and it worked as expected.

Unrelated, the iOS examples didn't work with our without this PR :/

@est31
Copy link
Member

est31 commented Apr 16, 2022

There used to be issues with bindgen updates due to only one clang-sys being possible, which made the update semver breaking. But both 0.56 and 0.59 use the same clang version so it should be okay.

@MichaelHills
Copy link
Contributor

Unrelated, the iOS examples didn't work with our without this PR :/
I did test that the coreaudio-rs iOS feedback example worked with this, and just tested it worked without it (both tests in the simulator). Were you testing on device?

Regarding the version bump, I haven't done much Rust for over a year so I'm not familiar with dependency issues in practice. Can there be a problem if multiple dependencies specify different versions of bindgen? I'm assuming the only resolution is to force a particular version and hope that it works across all the dependants? Seems to be the consensus that a bump to 0.2.10 is the way to go?

There's no reason to not just land this and then pick the version number? If so let's merge this.

I pulled this PR into patch.crates-io and it worked as expected.

What does this mean?

@simlay
Copy link
Member

simlay commented Apr 18, 2022

Seems to be the consensus that a bump to 0.2.10 is the way to go?

Correct. Just to be thorough, I tested that audio works as expected with bevy in their iOS example so this is definitely fine as a patch update.

@simlay simlay merged commit 3fcb18c into master Apr 18, 2022
@dependabot dependabot bot deleted the dependabot/cargo/bindgen-0.59 branch April 18, 2022 03:45
@simlay simlay mentioned this pull request Apr 18, 2022
@MichaelHills
Copy link
Contributor

Thanks a lot @simlay

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.

4 participants