Skip to content

Commit a0442c1

Browse files
committed
GH-5 - Update bindgen
1 parent 05e374e commit a0442c1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

libperl-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ crate-type = ["rlib", "cdylib"]
3030
[dependencies]
3131

3232
[build-dependencies]
33-
bindgen = "0.44"
33+
bindgen = "0.69"
3434
regex = "1"
3535

3636
libperl-config = {"path" = "../libperl-config", version = "^0.2"}

libperl-sys/build.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,9 @@ fn main() {
7272
// the resulting bindings.
7373
let bindings = bindgen::Builder::default()
7474

75-
.rustfmt_bindings(true)
7675
.derive_debug(true)
7776
.impl_debug(true)
78-
77+
.formatter(bindgen::Formatter::Prettyplease)
7978
.rustified_enum("OPclass|opcode|svtype")
8079

8180
// The input header we would like to generate

0 commit comments

Comments
 (0)