Skip to content

Commit 69aea8b

Browse files
gopakumarceGopa Kumar
andauthored
new bindgen with support for inline functions (#75)
* new bindgen with support for inline functions * move to bindgen latest --------- Co-authored-by: Gopa Kumar <[email protected]>
1 parent 10afc65 commit 69aea8b

File tree

3 files changed

+27
-13
lines changed

3 files changed

+27
-13
lines changed

Cargo.lock

Lines changed: 25 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ which = { version = "4.1", optional = true }
5959
globwalk = { version = "0.8", optional = true }
6060
tempfile = { version = "3", optional = true }
6161
ureq = { version = "2", optional = true }
62-
bindgen = { version = "0.63", optional = true }
62+
bindgen = { version = "0.69.4", optional = true }
6363
dep-cmake = { package = "cmake", version = "0.1", optional = true }

src/bindgen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl Factory {
136136
let builder = bindgen::Builder::default()
137137
.use_core()
138138
.layout_tests(false)
139-
.rustfmt_bindings(false)
139+
.formatter(bindgen::Formatter::None)
140140
.derive_default(true)
141141
.clang_arg("-D__bindgen")
142142
// Include directories provided by the build system

0 commit comments

Comments
 (0)