Enforce formatting for rustc_codegen_cranelift
diff --git a/rustfmt.toml b/rustfmt.toml
index 265f219..aa0d488 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -19,7 +19,6 @@
"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 @@
"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",
]