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

[mdbx_sys] README.md and build.rs to fix Windows build #91

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from

Conversation

psengrith
Copy link

This pull request updates the following files in the mdbx_sys package:

  1. Add README.md which explains steps to properly build the package on Windows for Rust Development.
  2. Minor update to build.rs to fix build errors on Windows: Specifically, the new script introduces workarounds to solve:
  • bindgen incompatibility with clang (#2500), and
  • -D MDBX_LOCK_SUFFIX was properly configured for Windows build through CMake. This could potentially result in undefined behavior in Windows since the isar logic (e.g., IsarInstance::close_internal) is hard-coded to depend on the suffix .lock.
  1. Minor update to packages/isar/README.md 😀!

Note: This an updated pull request of the amended #87 (because directory structure mistake)

@psengrith psengrith marked this pull request as draft June 29, 2024 12:06
@psengrith psengrith changed the title [mdbx_sys] README.md and build.rs fix to window builds [mdbx_sys] README.md and build.rs to fix Windows build Jun 29, 2024
@psengrith psengrith marked this pull request as ready for review June 29, 2024 12:09
@mrclauss
Copy link
Member

@vicenterusso Do you have an idea why the github action workflow did not build this pull request?

@vicenterusso
Copy link
Member

@vicenterusso Do you have an idea why the github action workflow did not build this pull request?

No clue, maybe because it was marked as a draft? just guessing..

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.

3 participants