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

Force use of buildtime_bindgen under winsqlite3 for now #1135

Merged
merged 1 commit into from
Mar 12, 2022

Conversation

thomcc
Copy link
Member

@thomcc thomcc commented Mar 12, 2022

It seems like winsqlite3's declarations are stdcall not cdecl (extern "system" vs extern "C"). Those are different ABIs, and it won't generally work (It will work on x86_64, but not on 32-bit x86, for example). I have a better fix incoming (maybe later this weekend -- an overhaul to libsqlite3-sys), but for now this will do.

Sadly, windows is not a platform where buildtime_bindgen is actually easy to use, so this may annoy people who use winsqlite3. It's only a build-time requirement, and I don't think there are many of users of this feature.

@codecov
Copy link

codecov bot commented Mar 12, 2022

Codecov Report

Merging #1135 (de64b5d) into master (ea537ce) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1135   +/-   ##
=======================================
  Coverage   78.43%   78.43%           
=======================================
  Files          47       47           
  Lines        5842     5842           
=======================================
  Hits         4582     4582           
  Misses       1260     1260           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea537ce...de64b5d. Read the comment docs.

@thomcc thomcc merged commit 8d0582a into rusqlite:master Mar 12, 2022
@thomcc thomcc deleted the winsqlite3-bindgen branch March 12, 2022 19:08
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.

None yet

1 participant