Rollback bindgen to 0.31 release

The 0.42 release of bindgen was failing in the docker rust image. All
versions between 0.31 and 0.42 failed with other errors, so this is the only
version that works on both macOS and docker.

cargo test passes
This commit is contained in:
Nathan Fiedler
2018-10-06 18:19:35 -07:00
parent bd34f145a2
commit 4e0a0a219f
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ This file follows the convention described at
## [Unreleased] ## [Unreleased]
### Changed ### Changed
- Updated `bindgen` dependency to latest release and fixed compiler issues. - Updated `bindgen` dependency to 0.31 release and fixed compiler issues.
Enum definitions changed again, default in bindgen is different now, and Enum definitions changed again, default in bindgen is different now, and
using `default_enum_style()` caused endless compiler errors. using `default_enum_style()` caused endless compiler errors.

View File

@ -14,5 +14,5 @@ build = "build.rs"
libc = ">=0.2" libc = ">=0.2"
[build-dependencies] [build-dependencies]
bindgen = "0.42" bindgen = "0.31"
pkg-config = "0.3" pkg-config = "0.3"