mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
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.
This commit is contained in:
parent
a0551496d8
commit
cade470f15
@ -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 }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user