Update bindgen.

Bug: 1432134
Reviewed-by: SimonSapin
MozReview-Commit-ID: GXHw7KcCLN9
This commit is contained in:
Emilio Cobos Álvarez 2018-01-22 12:31:49 +01:00
parent b62b51ab4b
commit 08412647db
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 5 additions and 6 deletions

View file

@ -75,7 +75,7 @@ kernel32-sys = "0.2"
[build-dependencies]
lazy_static = "1"
log = "0.3"
bindgen = { version = "0.31.2", optional = true }
bindgen = { version = "0.32.2", optional = true }
regex = {version = "0.2", optional = true}
walkdir = "1.0"
toml = {version = "0.2.1", optional = true, default-features = false}

View file

@ -205,7 +205,6 @@ mod bindings {
// Disable rust unions, because we replace some types inside of
// them.
let mut builder = Builder::default()
.rustfmt_bindings(false)
.rust_target(RustTarget::Stable_1_0);
for dir in SEARCH_PATHS.iter() {
builder = builder.clang_arg("-I").clang_arg(dir.to_str().unwrap());