Skip to content

Commit

Permalink
Merge pull request #1109 from bsilver8192/bindgen-skip-rustfmt
Browse files Browse the repository at this point in the history
Tell bindgen to skip rustfmt
  • Loading branch information
adetaylor authored Jun 2, 2022
2 parents bdff5db + eaa1f87 commit b5486fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ impl IncludeCppEngine {
.default_enum_style(bindgen::EnumVariation::Rust {
non_exhaustive: false,
})
.rustfmt_bindings(log::log_enabled!(log::Level::Info))
.size_t_is_usize(true)
.enable_cxx_namespaces()
.generate_inline_functions(true)
Expand Down

0 comments on commit b5486fa

Please sign in to comment.