From bffe880cfd2d3e30d6acab6851397cc1527d2ea8 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Thu, 30 Dec 2021 15:04:47 +0100 Subject: [PATCH] Enforce formatting for rustc_codegen_cranelift --- rustfmt.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rustfmt.toml b/rustfmt.toml index 265f2194fef..aa0d4888f08 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -19,7 +19,6 @@ ignore = [ "library/backtrace", "library/portable-simd", "library/stdarch", - "compiler/rustc_codegen_cranelift", "compiler/rustc_codegen_gcc", "src/doc/book", "src/doc/edition-guide", @@ -36,4 +35,9 @@ ignore = [ "src/tools/rust-analyzer", "src/tools/rustfmt", "src/tools/rust-installer", + + # these are ignored by a standard cargo fmt run + "compiler/rustc_codegen_cranelift/y.rs", # running rustfmt breaks this file + "compiler/rustc_codegen_cranelift/example", + "compiler/rustc_codegen_cranelift/scripts", ]