Skip to content

Bump bindgen from 0.72.0 to 0.73.2 - #3211

Draft
dak2 wants to merge 2 commits into
ruby:masterfrom
dak2:rust-bump-bindgen-0.73.2
Draft

dak2 wants to merge 2 commits into
ruby:masterfrom
dak2:rust-bump-bindgen-0.73.2

Conversation

@dak2

@dak2 dak2 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Fixes the CI failure of #3206.

bindgen 0.73 resolves syn to 3.x, but the locked prettyplease 0.2 depends on syn 2.x, so bindgen fails to compile (E0277). Bumping prettyplease to 0.3 aligns both on syn 3.

bindgen 0.73's generated bitfield code also trips clippy::manual_div_ceil, which fails the lint job under -D warnings. The code is generated, so the lint is allowed alongside the existing clippy allows.

@ksss ksss left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

COOL!

dak2 and others added 2 commits October 10, 2026 10:48
bindgen 0.73 generates code that trips this lint, and CI treats
warnings as errors.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
bindgen 0.73 uses syn 3, which the locked prettyplease 0.2 (syn 2)
cannot accept, so bump prettyplease to 0.3.0 as well.

Fixes the CI failure of ruby#3206.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@dak2
dak2 force-pushed the rust-bump-bindgen-0.73.2 branch from ed2349e to 88582a6 Compare October 10, 2026 01:48
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.

2 participants