Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Commit d429e35

Browse files
authored
rustfmt the bindings that are generated for readability
1 parent 03d54d4 commit d429e35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ fn main() {
3131
.use_core()
3232
.ctypes_prefix("types")
3333
.no_copy(".*")
34-
.derive_default(true);
34+
.derive_default(true)
35+
.rustfmt_bindings(true);
3536

3637
let output = String::from_utf8(
3738
Command::new("make")

0 commit comments

Comments
 (0)