Repository navigation
Added feature "bundled" to provide a fully self-contained cross-platform build. - #197
Merged
Merged
Conversation
Added manually to the bindgens a type entry for 'Struct_sqlite3' pointing to sqlite3 to prevent changing multiple files. Reran bindgens as: bindgen --builtins --link=sqlite3 --output=./libsqlite3-sys/src/bindgen.rs ./libsqlite3-sys/sqlite3/sqlite3.h
Regenerate bindgen based on bundled sqlite
This was referenced Dec 31, 2016
lthiery
added a commit
to lthiery/rusqlite
that referenced
this pull request
Sep 4, 2026
The flag has been hardcoded since the flag list was first put together in 2016 (rusqlite#197), copied over from other SQLite bindings. It has a runtime cost (memory accounting overhead, and it forces the unified page cache), and since rusqlite#1608 nothing in rusqlite needs it: Connection::release_memory uses sqlite3_db_release_memory, which works either way, and sqlite3_release_memory is only reachable through raw ffi. Anyone who still wants it can pass LIBSQLITE3_FLAGS="-DSQLITE_ENABLE_MEMORY_MANAGEMENT".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #176 with only minor changes: