Skip to content

Conversation

@NoXF
Copy link
Owner

@NoXF NoXF commented Aug 11, 2025

Change bindgen to optional and keep the old method as the default to reduce complexity.

Executing bindgen in build.rs helps ensure correct cross-compilation, but it increases maintenance complexity. Before encountering any issues, it is preferable to keep things simple.

@Brooooooklyn

@NoXF
Copy link
Owner Author

NoXF commented Aug 11, 2025

@lucascompython, we hope to maintain the previous approach of creating ffi.rs. do you encountered any problems in this way?

@lucascompython
Copy link
Contributor

No, I didn't encounter any problems, I just found it easier to build with the bindgen method since that way I didn't have to install any external tools.

@NoXF NoXF merged commit 758c22f into master Aug 12, 2025
15 checks passed
@Brooooooklyn
Copy link
Contributor

This pull request caused build failures on 32-bit systems, including i686, armv7, and wasm32 architectures. https://github.com/Brooooooklyn/Image/actions/runs/16988234386/job/48161680629

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.

4 participants