Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loading pre-built bindings for the docrs/bundled case #2

Open
wants to merge 3 commits into
base: gdal-src-3-10
Choose a base branch
from

Conversation

weiznich
Copy link

  • I agree to follow the project's code of conduct.
  • I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

lnicola and others added 3 commits November 7, 2024 22:12
* Replace generic prebuilt bindings with target specific bindings

This commit replaces the generic gdal bindings with architecture
specific ones. This is necessary as bindgen 0.71 introduced a feature
that essentially turned the size assertions into a compile time check.
This pointed to several potential mismatches between the bindings and
the actual type definitions.

This commit now introduces different bindings for 32 and 64 bit
platforms. Additionally it differentiates between windows and
linux/macos bindings. For any unsupported platform a build error is
generated that the built_time bindgen feature needs to be used there.

Finally it adds documentation on how to generate these bindings.
@lnicola lnicola force-pushed the gdal-src-3-10 branch 2 times, most recently from a87ff72 to 3aabd01 Compare November 22, 2024 18:22
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