Downgrade rust-bindgen to 0.25.5

There is an issue when building on Linux when using 0.26.0 or higher, so
keep to a version that still works on Mac and Linux.

cargo test passes
This commit is contained in:
Nathan Fiedler
2017-07-08 21:30:42 -07:00
parent 979cdd3269
commit acabbafa08
3 changed files with 8 additions and 2 deletions

View File

@ -50,6 +50,7 @@ fn main() {
// Geneate the bindings.
let mut builder = bindgen::Builder::default()
.no_unstable_rust()
.emit_builtins()
.ctypes_prefix("libc")
.raw_line("extern crate libc;")