Skip to content

Force use of buildtime_bindgen under winsqlite3 for now#1135

Merged
thomcc merged 1 commit intorusqlite:masterfrom
thomcc:winsqlite3-bindgen
Mar 12, 2022
Merged

Force use of buildtime_bindgen under winsqlite3 for now#1135
thomcc merged 1 commit intorusqlite:masterfrom
thomcc:winsqlite3-bindgen

Conversation

@thomcc
Copy link
Copy Markdown
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
Copy Markdown

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.

1 participant