Skip to content

Commit

Permalink
new bindgen with support for inline functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Gopa Kumar committed Dec 26, 2023
1 parent f9ffc4b commit 4d7020a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 5 deletions.
37 changes: 34 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ which = { version = "4.1", optional = true }
globwalk = { version = "0.8", optional = true }
tempfile = { version = "3", optional = true }
ureq = { version = "2", optional = true }
bindgen = { version = "0.63", optional = true }
bindgen = { version = "0.65.1", optional = true, features = ["experimental"] }
dep-cmake = { package = "cmake", version = "0.1", optional = true }
2 changes: 1 addition & 1 deletion src/bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Factory {
let builder = bindgen::Builder::default()
.use_core()
.layout_tests(false)
.rustfmt_bindings(false)
.formatter(bindgen::Formatter::None)
.derive_default(true)
.clang_arg("-D__bindgen")
// Include directories provided by the build system
Expand Down

0 comments on commit 4d7020a

Please sign in to comment.