style: Disable rustfmt for now.

Tons of people have broken rustfmts that cause build errors. Let's not force
them to update it for now.
This commit is contained in:
Emilio Cobos Álvarez 2018-01-23 17:26:35 +01:00
parent 02331617b9
commit b1c580754a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

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());