From b1c580754a87bd7bcf51375778175af1376dcdce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 23 Jan 2018 17:26:35 +0100 Subject: [PATCH] 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. --- components/style/build_gecko.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/style/build_gecko.rs b/components/style/build_gecko.rs index 8c97e540c58..7415bff8a26 100644 --- a/components/style/build_gecko.rs +++ b/components/style/build_gecko.rs @@ -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());