Open
Description
One of the biggest pain points about using bindgen is installing libclang. It's a massive dependency to manage, and adds pain to the development and deployment of Rust apps. It would be nice if you could just run bindgen-cli-installer.sh
and be done with it, whether you're compiling in CI or on a laptop.
The downside is that the generated executable is pretty massive (85M on arm64-darwin, compared to 5.4M now).
There's already support for statically linking libclang.a
, so I think this is mostly a matter of automating the release process. I have a hacky proof-of-concept here for reference.
I'd be happy to work on making this happen if others would find it useful.
Metadata
Metadata
Assignees
Labels
No labels