From cade470f1599212e4e4453a29343d5efc062ed12 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 14 Dec 2019 08:18:21 +0100 Subject: [PATCH] Use `runtime` feature for bindgen https://github.com/rust-lang/rust-bindgen/issues/1694#issuecomment-565625756 > Are you using default-features = false? I think you need to change to features = ["dynamic"] if so so that clang is runtime-detected. Otherwise it needs a relatively-new libclang version. --- libsqlite3-sys/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsqlite3-sys/Cargo.toml b/libsqlite3-sys/Cargo.toml index 17680fe..80ca4b7 100644 --- a/libsqlite3-sys/Cargo.toml +++ b/libsqlite3-sys/Cargo.toml @@ -29,7 +29,7 @@ preupdate_hook = [] session = ["preupdate_hook"] [build-dependencies] -bindgen = { version = "0.52", optional = true, default-features = false } +bindgen = { version = "0.52", optional = true, default-features = false, features = ["runtime"] } pkg-config = { version = "0.3", optional = true } cc = { version = "1.0", optional = true }