Manually insert SQLITE_DETERMINISTIC flag in bindgen output if needed.

See comment in libsqlite3-sys/build.rs for details - adding this flag is
harmless if it's not present in the header, and not having it can break
builds against older SQLite versions.
This commit is contained in:
John Gallagher
2017-02-08 21:41:34 -05:00
parent 644166fa5b
commit 5dbfa2850e
3 changed files with 29 additions and 9 deletions

View File

@@ -68,7 +68,7 @@ features](http://doc.crates.io/manifest.html#the-features-section). They are:
allows use of SQLite's online backup API.
* [`functions`](http://jgallagher.github.io/rusqlite/rusqlite/functions/index.html)
allows you to load Rust closures into SQLite connections for use in queries.
Note: This feature requires SQLite 3.8.3 or later.
Note: This feature requires SQLite 3.7.3 or later.
* [`trace`](http://jgallagher.github.io/rusqlite/rusqlite/trace/index.html)
allows hooks into SQLite's tracing and profiling APIs.
* [`blob`](http://jgallagher.github.io/rusqlite/rusqlite/blob/index.html)