Skip to content

Commit 232d8ce

Browse files
committed
Re-enable rustfmt of generated bindings
Because recent versions of bindgen generate their bindings on one line, because of bindgen's use of u128 and rust's warnings of its unsafety FFI-wise, and because of rust-lang/rust#62999, combined, building the crate generates massive logs... which exceed travis's maximum log length. It was disabled in RustAudio#13 because back then rustfmt had some problems with the bindgen output. Now that rustfmt is part of rust, these kind of problems presumably should happen less if at all.
1 parent d6470b1 commit 232d8ce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ fn build(sdk_path: &str, target: &str) {
9393
builder = builder
9494
.trust_clang_mangling(false)
9595
.derive_default(true)
96-
.rustfmt_bindings(false);
9796

9897
let bindings = builder.generate().expect("unable to generate bindings");
9998

0 commit comments

Comments
 (0)