Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@decathorpe
Copy link

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.

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.

1 participant