Skip to content

Bump bindgen dependency to 0.72 and regenerate prebuilt bindings#80

Merged
PolyMeilex merged 1 commit intoSmithay:masterfrom
decathorpe:master
Mar 11, 2026
Merged

Bump bindgen dependency to 0.72 and regenerate prebuilt bindings#80
PolyMeilex merged 1 commit intoSmithay:masterfrom
decathorpe:master

Conversation

@decathorpe
Copy link
Contributor

bindgen <0.72 will be broken when clang 22 becomes available:
rust-lang/rust-bindgen#3264

I'm not sure if this project would be affected, but updating to something more recent is a good idea regardless - and it shouldn't affect many users of this crate, since bindgen usage is behind an off-by-default feature flag.

I tested my changes by regenerating the pregenerated bindings, and the resulting changes look correct to me (i.e. no changes other than the different bindgen version that gets printed in the header comment).

Note that I set the Rust target version to 1.63 (the docuemented MSRV) in the bindgen call, otherwise it defaults to generating code for the current Rust version, which causes it to use unsafe extern "C" blocks on recent Rust, which old Rust doesn't understand.

Copy link
Member

@PolyMeilex PolyMeilex left a comment

Choose a reason for hiding this comment

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

Thanks!

@PolyMeilex PolyMeilex merged commit cd924ce into Smithay:master Mar 11, 2026
15 checks passed
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