diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-08-14 11:49:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 11:49:24 -0500 |
commit | 5ca05690c17e318d52f8d2e82aeef5d0feff35b3 (patch) | |
tree | 1830d660a0c2cd94e41d0a1c700f0eaaa7376f50 /tests/headers/struct_with_anon_struct.h | |
parent | f9087f3bb48eccf23f9388885a99b19ee18d41e7 (diff) | |
parent | 27dd628ad769c5057337cce6c5b57af7bb4eb273 (diff) |
Auto merge of #905 - bkchr:rustfmt, r=fitzgen
Adds support for running rustfmt on generated bindings
This patch enables bindgen to run rustfmt on generated bindings. Rustfmt is used
from the global PATH. Two new command-line arguments are added:
1. --format-bindings: Enables running rustfmt
2. --format-configuration-file: The configuration file for rustfmt (not required).
Fixes: #900
Diffstat (limited to 'tests/headers/struct_with_anon_struct.h')
0 files changed, 0 insertions, 0 deletions