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

use ffmpeg-sys-next, single version of bindgen #162

Merged
merged 2 commits into from
Jun 22, 2023
Merged

use ffmpeg-sys-next, single version of bindgen #162

merged 2 commits into from
Jun 22, 2023

Conversation

scottlamb
Copy link
Contributor

One version is easier to keep track of and should reduce build times.

One version is easier to keep track of and should reduce build times.

* replace ffmpeg-sys with ffmpeg-sys-next, which (among other things)
  uses bindgen 0.64. ffmpeg-sys was using a pre-0.60 version, so in
  some of our call sites, it hit build errors on Rust 1.70 due to
  rust-lang/rust-bindgen#2083
  https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#0600

* update cargo lock stuff to use the same version

* remove stale comments about older versions
@scottlamb scottlamb requested a review from epingel2 June 21, 2023 19:07
@scottlamb
Copy link
Contributor Author

Hold off on reviewing for a minute. I tried using this and hit a problem with xilinx. Gonna see if I can easily make the CI actually build that to verify the fix / avoid introducing such problems again.

@scottlamb scottlamb force-pushed the update-deps branch 7 times, most recently from 3515705 to 4e22d36 Compare June 21, 2023 21:11
@scottlamb
Copy link
Contributor Author

Better now. I gave up for now on making xilinx build in CI (the SDK wants older versions of apt deps than the ubuntu-20.4 image wants to install, ugh), but I fixed the compilation error as tested externally.

@scottlamb scottlamb merged commit 2a8b6ba into main Jun 22, 2023
5 checks passed
@scottlamb scottlamb deleted the update-deps branch June 22, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants