From 4e0a0a219f54b08d7c0751bbdb6510c21ca642f4 Mon Sep 17 00:00:00 2001 From: Nathan Fiedler Date: Sat, 6 Oct 2018 18:19:35 -0700 Subject: [PATCH] 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 --- CHANGELOG.md | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 026d7df..b6d597c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ This file follows the convention described at ## [Unreleased] ### 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 using `default_enum_style()` caused endless compiler errors. diff --git a/Cargo.toml b/Cargo.toml index e7b78dd..cbf4a4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,5 +14,5 @@ build = "build.rs" libc = ">=0.2" [build-dependencies] -bindgen = "0.42" +bindgen = "0.31" pkg-config = "0.3"