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

@@ -29,16 +29,12 @@ script:
- cargo test
- cargo test --features backup
- cargo test --features blob
- cargo test --features functions
- cargo test --features limits
- cargo test --features load_extension
- cargo test --features trace
- cargo test --features chrono
- cargo test --features serde_json
- cargo test --features bundled
- cargo test --features "backup blob chrono functions limits load_extension serde_json trace"
- cargo test --features "backup blob chrono functions limits load_extension serde_json trace bundled"
# Travis CI runs on Ubuntu precise, which has SQLite 3.7.x. Our `functions` feature requires
# 3.8.3, so omit tests for functions by itself and combined with other features. It is still
# tested above when combined with the `bundled` feature.
# - cargo test --features functions
# - cargo test --features "backup blob chrono functions limits load_extension serde_json trace"