[PR #1874] [MERGED] build(rust): Upgrade bindgen to 0.72.1 for Fedora packaging #2653

Open
opened 2026-01-29 17:23:17 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1874
Author: @cfsmp3
Created: 12/21/2025
Status: Merged
Merged: 12/21/2025
Merged by: @cfsmp3

Base: masterHead: fix/bindgen-upgrade-1608


📝 Commits (1)

  • d097ec8 build(rust): Upgrade bindgen to 0.72.1 for Fedora packaging

📊 Changes

3 files changed (+27 additions, -5 deletions)

View changed files

📝 src/rust/Cargo.lock (+21 -1)
📝 src/rust/Cargo.toml (+1 -1)
📝 src/rust/build.rs (+5 -3)

📄 Description

Summary

  • Upgrades bindgen from 0.64.0 to 0.72.1 to enable Fedora Linux packaging
  • Fixes deprecated CargoCallbacks API for newer bindgen versions
  • Replaces (?i) regex flags with character classes for compatibility (the inline flag causes bindgen 0.72.1 to silently produce empty bindings)

Fixes #1608

Test plan

  • Build completes successfully with bindgen 0.72.1
  • Binary version check passes
  • Subtitle extraction works correctly (tested with DTVCC sample)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1874 **Author:** [@cfsmp3](https://github.com/cfsmp3) **Created:** 12/21/2025 **Status:** ✅ Merged **Merged:** 12/21/2025 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `fix/bindgen-upgrade-1608` --- ### 📝 Commits (1) - [`d097ec8`](https://github.com/CCExtractor/ccextractor/commit/d097ec881ce220a74301b1529eaf0c651ee709d6) build(rust): Upgrade bindgen to 0.72.1 for Fedora packaging ### 📊 Changes **3 files changed** (+27 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/rust/Cargo.lock` (+21 -1) 📝 `src/rust/Cargo.toml` (+1 -1) 📝 `src/rust/build.rs` (+5 -3) </details> ### 📄 Description ## Summary - Upgrades bindgen from 0.64.0 to 0.72.1 to enable Fedora Linux packaging - Fixes deprecated `CargoCallbacks` API for newer bindgen versions - Replaces `(?i)` regex flags with character classes for compatibility (the inline flag causes bindgen 0.72.1 to silently produce empty bindings) Fixes #1608 ## Test plan - [x] Build completes successfully with bindgen 0.72.1 - [x] Binary version check passes - [x] Subtitle extraction works correctly (tested with DTVCC sample) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:23:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2653