Auto merge of #19845 - emilio:not-fmt-yet, r=emilio

style: Disable rustfmt on the bindings for now.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19845)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-01-23 10:42:31 -06:00 committed by GitHub
commit 108cb0e539

View file

@ -204,7 +204,11 @@ mod bindings {
// Disable rust unions, because we replace some types inside of
// them.
//
// FIXME(emilio, bug 1432153): Make the bindings rustfmt'd on
// automation.
let mut builder = Builder::default()
.rustfmt_bindings(false)
.rust_target(RustTarget::Stable_1_0);
for dir in SEARCH_PATHS.iter() {
builder = builder.clang_arg("-I").clang_arg(dir.to_str().unwrap());