about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-05-18 15:42:35 +0000
committerTrevor Gross <tmgross@umich.edu>2025-05-18 15:42:35 +0000
commitc801c569dc2b264ee4b6db024155093ea1d616d0 (patch)
tree7eeca27dbe9b02c03f9bdaf9fd040b995e2cd2d7
parentfcb30003405d80ce4c653c0520fea3fa816bd891 (diff)
downloadrust-c801c569dc2b264ee4b6db024155093ea1d616d0.tar.gz
rust-c801c569dc2b264ee4b6db024155093ea1d616d0.zip
Do not run `rustfmt` on the `compiler-builtins` subtree
This will get checked in the compiler-builtins repository. The rules are
slightly different from rust-lang/rust since `use_small_heuristics =
"Max"` tends to create difficult to read output with math-heavy code
(e.g.  multiple `if` statements with numbers are small enough that they
sometimes get collapsed into a single line).
-rw-r--r--rustfmt.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index d9857a7e3e7..689e390b990 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -29,6 +29,7 @@ ignore = [
 
     # Do not format submodules.
     "library/backtrace",
+    "library/compiler-builtins",
     "library/portable-simd",
     "library/stdarch",
     "src/doc/book",