about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-12-30 15:04:47 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2022-01-01 16:52:30 +0100
commitbffe880cfd2d3e30d6acab6851397cc1527d2ea8 (patch)
tree730e9d45a2652ff7f985dae6a4fdcd4b9cb588c0
parent028c6f1454787c068ff5117e9000a1de4fd98374 (diff)
downloadrust-bffe880cfd2d3e30d6acab6851397cc1527d2ea8.tar.gz
rust-bffe880cfd2d3e30d6acab6851397cc1527d2ea8.zip
Enforce formatting for rustc_codegen_cranelift
-rw-r--r--rustfmt.toml6
1 files changed, 5 insertions, 1 deletions
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",
 ]